Difference between revisions of "PosEx"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function PosEx(search, s: AnsiString; from: Integer): Integer; </source> ==Availability== SCAR Divi 3.10 > Current ==Descripti...") |
(No difference)
|
Revision as of 08:28, 2 July 2011
Definition
function PosEx(search, s: AnsiString; from: Integer): Integer;
Availability
SCAR Divi 3.10 > Current
Description
Returns the position of the first occurrence of a string search in another string s while starting the search at the position given by from.
Example
begin WriteLn(PosEx('a', 'lola abc', 5)); end.
Output:
6