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

TStringHelper.LastDelimiter

Return the last position of one of a series of delimiters

Declaration

Source position: syshelph.inc line 112

public function TStringHelper.LastDelimiter(

  const Delims: string

):Integer;

Description

LastDelimiter searches the string backwards for an occurence of one of the characters in Delims, and returns the corresponding (zero-based) index in the string. If no occurrence is found, -1 is returned.

See also

TStringHelper.isDelimiter

  

Check whether a character at a given position is a delimiter

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.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: Mar 17 2017