strpos
Find the position of the first occurrence of a substring in a string
[...] = optional ... = your value
[var $... = ]call strpos $haystack=…;$needle=…[;$offset=…]
negative $offset values do not work
Example code
Example output
Reloadhaystack = abefcdefghijklmnopqrstuvwxyz
needle = op
offset = 0
position = 16