15.9.3 indexof(value1, value2)

Returns first index of 'match' in 'string' or -1 if not found

Value1: First argument. Value can be one of the following types: text. Required.

Value2: Second argument. Value can be one of the following types: text. Required.

Returned value type will be integer.

Function Result

indexof(client_name,"c"), where client name is Alphonse Gabriel Capone

17

indexof(client_name,"c"), where client name is Braden Gray -1