int = Pos(sSubString,sString)
This macro function will search for a sub-string in a larger string. If the sub-string is found the function returns the position at which the first occurrence of this sub-string occurs. Otherwise the function returns zero.
Pos('A','Aardvark') = 1
Pos('a','Aardvark') = 2 // case sensitive !
Pos('a','Art') = 0
This function is case-sensitive (ie. 'Hello' is not the same as 'hello').
See also : PosNth.