public static String captureName(String str) { char[] chars = str.toCharArray(); chars[0]-=32; return String.valueOf(chars);}