package com.jalor;
public class TKY_20180622 {
public static void main(String[] args) {
String str = "LeNian";
// 大写转小写
System.out.println(str.toLowerCase());
// 小写转大写
System.out.println(str.toUpperCase());
}
}
JAVA实现对字符串的大小写的转换
最新推荐文章于 2023-07-27 16:26:46 发布