System.WideString.Pos
C++
int Pos(const WideString& subStr) const;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | wstring.h | System | WideString |
Description
Returns the index at which a specified substring begins.
Use Pos to locate a substring of the WideString. Pos returns the index of the first character in subStr. If subStr is not contained in the WideString, Pos returns 0.