![]() |
VOOZH | about |
The string toUpperCase() method converts all characters of the string into an uppercase letter. The string toUpperCase() function returns the string after converting all characters of the string into the uppercase letter.
Syntax:
Str.toUpperCase()Image Representation:
Example 1 :
Output:
GEEKS
FOR GEEKS
Example 2 :
Output:
COMPUTER
LAPTOP