INDEX |
DEVELOPER |
|
|
Purpose |
INDEX returns the start position of one string within another string of the same type. |
Syntax |
variable = INDEX(search-string, find-string) |
Operation |
search-string is the character string to be searched. It can be a valid alphanumeric or wide character constant, variable, or expression. |
Remarks |
The value (start position) returned is in terms of the number of bytes for alphanumeric strings, and number of characters for wide character strings. |
Example |
Assume $A = "ABC1234" and $B = "123". |
Topic ID: 520070