chickadee » data-structures » substring-index

(substring-index WHICH WHERE [START]) procedure
(substring-index-ci WHICH WHERE [START]) procedure

Searches for first index in string WHERE where string WHICH occurs. If the optional argument START is given, then the search starts at that index. substring-index-ci is a case-insensitive version of substring-index.