Returns all of $haystack starting from and including the first occurrence of $needle to the end.
[...] = optional ... = your value
[var $... = ]call strstr $haystack=…;$needle=…[;$before_needle=…]
Returns the part of $haystack starting from and including the first occurrence of $needle to the end of $haystack
If $before_needle=1 the function returns the part of $haystack before the first occurrence of $needle (excluding $needle)
Show as text
Reload
haystack = abcdefghijklm
needle = g
position = abcdef
haystack = abcdefghijklm
needle = g
position = ghijklm