IndexOf

Summary

The IndexOf function returns the index value for first matching string found.

Syntax

IndexOf(<input value>, <value to locate index>)

Return Type

Integer

Details

 

Examples

IndexOf('abc','b')
1
IndexOf('abc','a')
0
 
IndexOf('aaaaabc','a')
0
 
IndexOf('aaabc','ab')
2
 
IndexOf(66601,601)
2

Related Functions

Locate