Converting to Lower Case and Upper Case in JavaScriptby: Amrit HallanConverting to lower case and upper case in JavaScript To convert a string to lower case in JavaScript we use the following steps:
Now the variable casechanged contains “this is some text.”. For upper case in JavaScript:
Now the variable casechanged contains “THIS IS SOME TEXT.”. © 2008 NetVisits, Inc. All rights reserved. |