The upperCase() and lowerCase() methods convert a specified string to uppercase or lowercase. Add the object "str_ucase" into your coding to show the result.
Browser support: all
TheMadScript version: 2.0.0
upperCase() Syntax: upperCase(string,result);
lowerCase() Syntax: lowerCase(string,result);
The below syntaxes converts the string "TheMadScript is by TheMadComputer." to upper or lower case and shows the result in an alert box:
upperCase("TheMadScript is by TheMadComputer.","box_alert(str_ucase)");
lowerCase("TheMadScript is by TheMadComputer.","box_alert(str_ucase)");
No comments:
Post a Comment