(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