English
Appearance
(-> text-t text-t bool-t)
Check if a text has a specified prefix.
(text-has-prefix "hello" "he") ;; => true (text-has-prefix "hello" "hi") ;; => false (text-has-prefix "hello" "") ;; => true