(vl-string-search pattern string [startposition])


Search for a pattern in a string.


This function returns the position of where the pattern is matched in the string or nil if the pattern is not found. The first character is position zero.

Example

Code Returns
(vl-string-search "My" "My Text") 0

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language