VOOZH about

URL: https://www.geeksforgeeks.org/scala/scala-string-touppercase-method-with-example/

⇱ Scala String toUpperCase() method with example - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Scala String toUpperCase() method with example

Last Updated : 29 Oct, 2019
The toUpperCase() method is utilized to convert all the characters of the stated string to uppercase.
Method Definition: String toUpperCase() Return Type: It returns the resultant string after converting its all the character to uppercase.
Example: 1#
Output:
GEEKSFORGEEKS
Example: 2#
Output:
NID#!
Comment
Article Tags:

Explore