DEV Community 👩‍💻👨‍💻

Lakshya Tyagi
Lakshya Tyagi

Posted on

Which method is used to return string in upper case?

Comment your answer in comment

1. upper()
Enter fullscreen mode Exit fullscreen mode
2. upperCase()
Enter fullscreen mode Exit fullscreen mode
3. uppercase()
Enter fullscreen mode Exit fullscreen mode
4. toUpperCase()
Enter fullscreen mode Exit fullscreen mode

Top comments (5)

Collapse
 
dibyadarshan8 profile image
Dibyadarshan Rath

1

Collapse
 
ckpro profile image
Shiva Inampudi

upper()

Collapse
 
pranshuj73 profile image
Pranshu Jha
  1. upper()
Collapse
 
promikecoder2020 profile image
ProMikeCoder2020

1

Collapse
 
sambhavjindalgithub profile image
Sambhav-Jindal-github

upper()

Find and follow new tags! 🤔 Did you know?   DEV has a variety of tags to help you find the content you like. Find and follow your favorite tags