Returns the start character number of a substring within a string. Character matches are case sensitive and commence at 1 (one).
int := Pos( substr , string )
- The substring to search for in string
- The string to be searched
- The integer of the start position of substring within string if found, zero if not found
1 := Pos("a", "abcd")
0 := Pos("z", "abcd")
5 := Pos("cat", "The cat sat on the mat")