instr()

instr returns the position of the first occurence of a substring in a string. The first parameter determines where to start searching.

 

instr(1;"race result";" ") - returns 5

 

instr(2;"ab";"a") - returns 0, since there is no a if searching from the second character on.