In this guide, we will discuss Clojure Strings lower-case. Converts string to all lower-case.
Syntax
Following is the syntax.
(lower-case s)
Parameters ā Where āsā is the string to be converted.
Return Value ā The string in lowercase.
Example
Following is an example of lower-case in Clojure.
(ns clojure.examples.hello (:gen-class)) (defn hello-world [] (println (clojure.string/lower-case "HelloWorld")) (println (clojure.string/lower-case "HELLOWORLD"))) (hello-world)
Output
The above program produces the following output.
helloworld helloworld
Next Topic : Click Here
Pingback: Clojure - Strings compare | Adglob Infosystem Pvt Ltd
Pingback: Clojure - Strings | Adglob Infosystem Pvt Ltd