📌  相关文章
📜  java 将每个单词的首字母大写 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:34.243000             🧑  作者: Mango

代码示例4
import org.apache.commons.text.WordUtils;

public class WordUtilsCapitalizeFullyExample {
    public static void main(String[] args) {
        String result1 = WordUtils.capitalizeFully("how to CAPITALIZE first letter words");
        System.out.println(result1);
    }
}