Removes whitespace from the left hand side of the string.
Following is the syntax.
Parameters − ‘str’ is the input string.
Return Value − The string which has the whitespaces removed from the beginning of the string.
Following is an example of triml in Clojure.
(ns clojure.examples.hello (:gen-class)) (defn hello-world  (println (clojure.string/triml " White spaces "))) (hello-world)
The above program produces the following output.
The above output will have the white spaces at the end of the string.