- s-index-of needle s #!optional ignore-caseprocedure
Returns first index of needle in s, or #f.
If ignore-case is non-#f, the comparison is done without paying attention to case differences.
(s-index-of "abc" "abcdef") ;; => 0 (s-index-of "CDE" "abcdef" #t) ;; => 2 (s-index-of "n.t" "not a regexp") ;; => #f