📜  java 首字母大写的方法 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:22.254000             🧑  作者: 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);
    }
}