System.UnicodeString.Pos
C++
int Pos(const UnicodeString& subStr) const _ALWAYS_INLINE {
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | ustring.h | System | UnicodeString |
Description
Returns character index at which specified substring begins.
Pos returns the character index in the UnicodeString instance at which the substring subStr
begins, where 1 is the index of the first character, 2 is the index of the second character, and so on. If the substring is not contained in the UnicodeString, Pos returns 0.