string.toUpperCase()

String.toUpperCase() toUpperCase to update lowercase chars to uppercase in a string.

Returns a string.

Here are some examples with output.
String str = "i am a string";
System.out.println(str.toUpperCase()); // I AM A STRING
System.out.println(str.toUpperCase(Locale.forLanguageTag("tr"))); // ? AM A STR?NG


All String functions
Java


plus2net.com






We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2025   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer