clojure.string/starts-with?

functionsince v1.7.145 clojure.string/starts-with?Edit
(starts-with? s substr)

Source docstring:
True if s starts with substr.
Source code @ clojurescript:src/main/cljs/clojure/string.cljs
(defn ^boolean starts-with?
  [s substr]
  (gstring/startsWith s substr))