Finds the first occurrence of a character within a string.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
StrStrPos | String | Synchronous | Supported | Supported | Supported |
StrStrPos( strSource, strCharSequence )
Returns an integer corresponding to the first occurrence of a character within the source string.
Tag Name | Expression |
---|---|
Tag | StrStrPos( "Studio version 7.0", "i" ) // Returned value = 4 |
Tag | StrStrPos( "Technical Reference", "a" ) // Returned value = 7 |