[Overview][Constants][Types][Procedures and functions] | Reference for unit 'strutils' (#rtl) |
Find last occurrence of substring or character in a string
Source position: line 0
function RPos( |
c: Char; |
const S: AnsiString |
):Integer; overload; |
const Substr: AnsiString; |
const Source: AnsiString |
):Integer; overload; |
RPos looks in S for the character C or the string SubStr. It starts looking at the end of the string, and searches towards the beginning of the string. If a match is found, it returns the position of the match.
|
Find last occurrence substring or character in a string, starting at a certain position |
No notes exist for this page yet.