help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

RPosex

Find last occurrence substring or character in a string, starting at a certain position

Declaration

Source position: line 0

function RPosEX(

  C: Char;

  const S: AnsiString;

  offs: cardinal

):Integer; overload;

function RPosex(

  const Substr: AnsiString;

  const Source: AnsiString;

  offs: cardinal

):Integer; overload;

Description

RPos looks in S for the character C or the string SubStr. It starts looking at position Offs, and searches towards the beginning of the string. If a match is found, it returns the position of the match.

See also

RPos

  

Find last occurrence of substring or character in a string

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505