toUpperCase()
toUpperCase(locale)
==== description of toUpperCase====
returns the String, converted to uppercase.
===== example of toUpperCase in java =====
package lang;
public class Lang {
public static void main(String[] args) {
String str = "test 1234";
str = str.toUpperCase();
// str = str.toUpperCase(Locale.SIMPLIFIED_CHINESE); // for Simplified Chinese
System.out.println(str+" in uppercase");
}
}
=== output of charAt ===
TEST 1234 in uppercase