This site requires JavaScript, please enable it in your browser!
Greenfoot back
WardedBowl403
WardedBowl403 wrote ...

2017/12/14

Changing characters in a string to all caps

WardedBowl403 WardedBowl403

2017/12/14

#
Using code, how would you take a string and change each character to be a capital letter instead of lowercase?
Super_Hippo Super_Hippo

2017/12/14

#
Use the 'toUpperCase' method on the string.
WardedBowl403 WardedBowl403

2017/12/14

#
Oh wow. I did not know that existed. Thanks!
You need to login to post a reply.