- s-contains? needle s #!optional ignore-caseprocedure
Does s contain needle?
If ignore-case is non-#f, the comparison is done without paying attention to case differences.
(s-contains? "file" "lib/file.js") ;; => #t (s-contains? "nope" "lib/file.js") ;; => #f (s-contains? "^a" "it's not ^a regexp") ;; => #t