How to check if a string
s1 is a substring of another string
(test-substring "f t" "df tj") --> t,
(test-substring "ft" "df tj") --> nil.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community