RAD Studio VCL Reference
|
Get index value of first character in substring that occurs in string.
function AnsiPos(const Substr: AnsiString; const S: AnsiString): Integer; overload;
int AnsiPos(const AnsiString Substr, const AnsiString S);
AnsiPos returns the index value of the first character in a specified substring that occurs in a given string. It operates similarly to the System.Pos function, but supports multi-byte character strings (MBCS) AnsiStrings.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|