Searches for the specified pattern in a string
(vl-string-search pattern string [start-pos])
Arguments
A string containing the pattern to be searched for.
The string to be searched for pattern.
An integer identifying the starting position of the search; 0 if omitted.
Return Values
An integer representing the position in the string where the specified pattern was found; otherwise nil if the pattern is not found; the first character of the string is position 0.
Examples
(vl-string-search "foo" "pfooyey on you") 1 (vl-string-search "who" "pfooyey on you") nil (vl-string-search "foo" "fooey-more-fooey" 1) 11