core: remove old definition of String.ends-with? (thanks @davidrusu)

This commit is contained in:
hellerve 2020-02-12 19:05:00 +01:00
parent e9d04ce1b9
commit 0328b8a28a

View File

@ -85,9 +85,6 @@
lsub (length sub)]
(and (>= ls lsub) (= sub &(suffix s (- ls lsub))))))
(defn ends-with? [s sub]
(= sub &(suffix s (- (length s) (length sub)))))
(doc zero "The empty string.")
(defn zero [] @"")