[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Split a string in a number of parts
Source position: syshelph.inc line 134
public function TStringHelper.Split( |
const Separators: array of Char |
):TStringArray; overload; |
const Separators: array of Char; |
ACount: Integer |
):TStringArray; overload; |
const Separators: array of Char; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of Char; |
ACount: Integer; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of string |
):TStringArray; overload; |
const Separators: array of string; |
ACount: Integer |
):TStringArray; overload; |
const Separators: array of string; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of string; |
ACount: Integer; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of Char; |
AQuote: Char |
):TStringArray; overload; |
const Separators: array of Char; |
AQuoteStart: Char; |
AQuoteEnd: Char |
):TStringArray; overload; |
const Separators: array of Char; |
AQuoteStart: Char; |
AQuoteEnd: Char; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of Char; |
AQuoteStart: Char; |
AQuoteEnd: Char; |
ACount: Integer |
):TStringArray; overload; |
const Separators: array of Char; |
AQuoteStart: Char; |
AQuoteEnd: Char; |
ACount: Integer; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of string; |
AQuote: Char |
):TStringArray; overload; |
const Separators: array of string; |
AQuoteStart: Char; |
AQuoteEnd: Char |
):TStringArray; overload; |
const Separators: array of string; |
AQuoteStart: Char; |
AQuoteEnd: Char; |
Options: TStringSplitOptions |
):TStringArray; overload; |
const Separators: array of string; |
AQuoteStart: Char; |
AQuoteEnd: Char; |
ACount: Integer |
):TStringArray; overload; |
const Separators: array of string; |
AQuoteStart: Char; |
AQuoteEnd: Char; |
ACount: Integer; |
Options: TStringSplitOptions |
):TStringArray; overload; |
Split will split the string (Self) using Separators as separator characters.
If ACount is supplied, then at most ACount strings will be included in the result. The default behaviour is to supply all strings.
if Options contains ExcludeEmpty then no empty strings will be included in the result. Empty strings may be included if multiple succesive separator characters are found in the source string.
If AQuoteStart and AQuoteEnd are supplied, then no splitting will be performed between AQuoteStart and AQuoteEnd characters.
|
Join a series of strings, separated using a given separator |
|
|
Find the position (index) of any string or character in a list. |
|
|
Find the position (index) of any string or character in a list. |