API:System.AnsiStringT.LastDelimiter

From RAD Studio API Documentation
Jump to: navigation, search

C++

int  LastDelimiter(const AnsiStringT& delimiters) const {

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Returns the index of the rightmost character that matches any character in the delimiters string.

System.AnsiStringT.LastDelimiter inherits from System.AnsiStringBase.LastDelimiter. All content below this line refers to System.AnsiStringBase.LastDelimiter.

Returns the index of the rightmost character that matches any character in the delimiters string.

LastDelimiter returns the byte index in this AnsiStringBase of the rightmost whole character that matches any character in delimiters, except NULL. AnsiStringBase may contain multibyte characters; delimiters must contain only single-byte non-NULL characters.

See Also