- 4.66.2.28. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.28. LastDelimiter function
4.66.2.28. LastDelimiter function
Targets: MS-DOS, OS/2, Win32
Strings Unit
Returns the byte index in S of the last character
that matches any character in the Delimiters string.
Declaration:
function LastDelimiter(const Delimiters, S: String): Longint;
Example:
LastDelimiter('\.', 'C:\TMT.5\BIN\TMTPC.EXE'); // returns 19
- 4.66.2.28. -