I want to search for a string in another one (basically what strstr
does in C), and I don't find anything in the elisp manual.
Do I have to reimplement all that myself, or am I missing something obvious ?
Strings are sequences. And thus search will to the job:
(search "foo" "in foo-bar")
3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With