新版本的变更 / Clojure 1.8

;; *** before: ***
(require '[clojure.string :as str])
(.startsWith "report.pdf" "report")
;=> true
(.endsWith "report.pdf" ".pdf")
;=> true
(>= (.indexOf "report.pdf" "ort"0)
;=> true

;; *** in version 1.8: ***
(str/starts-with? "report.pdf" "report")
;=> true
(str/ends-with? "report.pdf" ".pdf")
;=> true
(str/includes? "report.pdf" "ort")
;=> true