34,333
edits
Changes
→Performing Conversions on String Objects
myString = new String ("This is my string");
var upperCase = myString.toUpperCase(); // upperCase variable now contains ''THIS IS MY STRING''
myString = new String ("This Is My String");
var lowerCase = myString.toLowerCase(); // lowerCase variable now contains ''this is my string''
</pre>