SplitString(string,TSysCharSet,Boolean) Method

Overloads. SplitString

Namespace: Spring.SystemUtils
function SplitString(const buffer: string; const separators: TSysCharSet;
 removeEmptyEntries: Boolean = False): TStringDynArray; overload;

Parameters

buffer
Type: string

separators
Type: TSysCharSet

removeEmptyEntries
Type: Boolean

Return Value

Type: TStringDynArray

 

Each element of separator defines a separate delimiter character. If two delimiters are adjacent, or a delimiter is found at the beginning or end of the buffer, the corresponding array element contains Empty.