SUBSTRINGP

Synopsis
SUBSTRINGP thing1 thing2
SUBSTRING? thing1 thing2
Description

If thing1 or thing2 is a list or an array, outputs FALSE.

If thing2 is a word, outputs TRUE if thing1 is EQUALP to a substring of thing2, FALSE otherwise.

Example
SHOW SUBSTRINGP "bc "abc
true
SHOW SUBSTRINGP "bd "abc
false

SourceForge.net Logo