[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TStringHelper.IndexOfUnQuoted

Index of string, skipping quoted parts.

Declaration

Source position: syshelph.inc line 97

public function TStringHelper.IndexOfUnQuoted(

  const AValue: string;

  StartQuote: Char;

  EndQuote: Char;

  StartIndex: Integer = 0

):Integer; 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

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.


Documentation generated on: Sep 28 2017