Java 字符串转换为大写 Java 字符串拆分方法split Java 字符串范围匹配regionMatches方法 Java 字符串转换为大写 public class StringToUpperCaseEmp { public static void main(String[] args) { String str = "string abc touppercase "; String strUpper = str.toUpperCase(); System.out.println("Original String: " + str); System.out.println("String changed to upper case: " + strUpper); } } Java 字符串拆分方法split Java 字符串范围匹配regionMatches方法