VOOZH about

URL: https://www.geeksforgeeks.org/r-language/convert-string-from-lowercase-to-uppercase-in-r-programming-toupper-function/

⇱ Convert string from lowercase to uppercase in R programming - toupper() function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Convert string from lowercase to uppercase in R programming - toupper() function

Last Updated : 12 Jul, 2025
toupper() method in R programming is used to convert the lowercase string to uppercase string.
Syntax: toupper(s) Return: Returns the uppercase string.
Example 1: Output:
[1] "GEEKS FOR GEEKS"
Example 2: Output:
[1] "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG"
Comment
Article Tags:
Article Tags:

Explore