English
Appearance
(-> text-t text-t int-t)
Find the first index of a substring in a text. Returns -1 if not found.
-1
(text-find-index "hello" "ll") ;; => 2 (text-find-index "hello" "x") ;; => -1 (text-find-index "hello" "") ;; => 0