lower-case

(lower-case s)

将字符串 s 的所有字符转换为小写。

user=> (clojure.string/lower-case "hello moto")
"hello moto"

user=> (clojure.string/lower-case "HELLO MOTO")
"hello moto"

讨论

comments powered by Disqus

Previous topic

capitalize

Next topic

upper-case