Reverses the characters in a string.
Following is the syntax.
Parameters − ‘str’ is the string which needs to be reversed.
Return Value − The reversed string.
Following is an example of reverse in Clojure.
(ns clojure.examples.hello (:gen-class)) (defn hello-world  (println (reverse "Hello World"))) (hello-world)
The above program produces the following output.
(d l r o W o l l e H)