문자를 대문자로 변환 String lower = Name.toLowerCase(); int a = Name.indexOf(" ",0); String first = lower.substring(0, a); String last = lower.substring(a+1); char f = first.charAt(0); char l = last.charAt(0); System.out.println(l); F 및 L 변수를 대문자로 변환하려면 어떻게해야합니까? Character#toUpperCase()이것을 위해 사용할 수 있습니다 . char fUpper = Character.toUpperCase(f); char lUpper = Character.toUpperCase(l); 그러나 세계가 16 비트 char범위..