ends-with?

added
1.8

ns
clojure.string

type
function

(ends-with? s substr)

True if s ends with substr.

                (use 'clojure.string)

(ends-with? "Minsun" "sun")
;;=> true
(ends-with? "Minsun" "suns")
;;=> false
(ends-with? "Minsun" "un")
;;=> true