RAD Studio VCL Reference
|
Returns index value of substring, starting at offset.
function PosEx(const SubStr: AnsiString; const S: AnsiString; Offset: Integer = 1): Integer; overload;
int PosEx(const AnsiString SubStr, const AnsiString S, int Offset = 1);
PosEx returns the index of SubStr in S, beginning the search at Offset. The index is 1-based.
PosEx returns 0 if SubStr is not found, if Offset is greater than the length of S, or if Offset is less than 1.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|