![]() ![]() |
|
INDEXThe INDEX function will return the position of a character or characters within another string.
COMMAND SYNTAXINDEX(expression1, expression2, expression3)
SYNTAX ELEMENTSexpression1 evaluates to the string to be searched. expression2 evaluates to the string or character that will be searched for within expression1. expression3 should evaluate to a numeric value and specifies which occurrence of expression2 should be searched for within expression1.
NOTESIf the specified occurrence of expression2 cannot be found in expression1 then 0 is returned.
EXAMPLE
The above code will display
|