Indy 9
|
function Fetch(var AInput: string; const ADelim: string = IdFetchDelimDefault; const ADelete: Boolean = IdFetchDeleteDefault; const ACaseSensitive: Boolean = IdFetchCaseSensitiveDefault): string;
ADelim may contain a single character, a sequence of characters, or the value CHAR0 (Null string). The default delimiter is IdFetchDelimDefault.
Fetch can optionally delete the parsed value from AInput when ADelete is True. When ADelete is True, both the parsed value and the delimiter character(s) are removed from the input string AInput.
ACaseSensitive indicates if Fetch can ignore case when comparing values in AInput. The default value for ACaseSensitive is IdFetchCaseSensitiveDefault. When ACaseSensitive is True, Fetch calls the FetchCaseSensitive to perform the case sensitive comparisions required for the method.