Returns a string where all alphabetic characters have been converted to uppercase.
function toUpperCase() : String
The toUpperCase method has no effect on non-alphabetic characters.
The following example demonstrates the effects of the toUpperCase method:
var strVariable = "This is a STRING object";
strVariable = strVariable.toUpperCase();
The value of strVariable after the last statement is:
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback