function | since v0.0-927 | clojure.string/reverse | Edit |
(reverse s)
Returns s
with its characters reversed.
Returns s with its characters reversed.
(defn ^string reverse
[s]
(-> (.replace s re-surrogate-pair "$2$1")
(.. (split "") (reverse) (join ""))))