TStringHelper.IndexOfUnQuoted
Index of string, skipping quoted parts.
Declaration
Source position: syshelph.inc line 117
public
function IndexOfUnQuoted(const AValue: string; StartQuote: Char;
EndQuote: Char; StartIndex: SizeInt) : SizeInt
; Overload;
Description
IndexOfUnQuoted will return the zero-based index of AValue in the string (Self), but disregards any quoted parts in the string. A quoted part is determined by a starting StartQuote and end-quote character EndQuote. The search starts at (zero-based) position StartIndex, which is by default 0.
See also
| Name | Description |
|---|---|
| Pos | Search for substring in a string. |
| TStringHelper.IndexOf | Find the position (index) of a string or character |
| TStringHelper.IndexOfAny | Find the position (index) of any string or character in a list. |
| TStringHelper.IndexOfAnyUnquoted | Find the position (index) of any string or character in a list. |
| TStringHelper.LastIndexOf | Find the last position (index) of a string or character |
| TStringHelper.LastIndexOfAny | Find the last position (index) of any string or character in a list. |