Sign in Join
FPDoc Onlineexperiment

SplitCmdLineParams procedure

In unit LazFileUtils

Splits command line parameters separated by whitespace characters into the specified TStrings instance.

Declaration

pascal
procedure SplitCmdLineParams(const Params: string; ParamList: TStrings; 
 ReadBackslash: Boolean=False)

Description

Parameters are separated by one or more whitespace characters (#9,#10,#13,#32). Quoted values are parsed as a single parameter. If ReadBackslash contains True, then \" is replaced with " and not treated as a quoted value. #0 is always treated as the end of the Parameters value.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.