将字符串转换为所有小写字母。
以下是语法。
(lower-case s)
参数 - 其中" s"是要转换的字符串。
返回值 - 小写的字符串。
以下是Clojure中小写字母的示例。
(ns clojure.examples.hello (:gen-class)) (defn hello-Learnfk [] (println (clojure.string/lower-case "HelloLearnfk")) (println (clojure.string/lower-case "HELLOLEARNFK"))) (hello-Learnfk)
上面的程序产生以下输出。
链接:https://www.learnfk.comhttps://www.learnfk.com/clojure/clojure-strings-lowercase.html
来源:LearnFk无涯教程网
hellolearnfk
hellolearnfk
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Spring Cloud 微服务项目实战 -〔姚秋辰(姚半仙)〕