Change Any Text Characters To Lower Case In Javascript
- Forums
- Javascipt
- Change Any Text Characters To Lower Case In Javascript
here i will give you an example on how you can make variables into lower case. to change your string or variable vablues in javascript [827], Last Updated: Sat May 18, 2024
wallpaperama
Mon Feb 14, 2011
0 Comments
3756 Visits
here i will give you an example on how you can make variables into lower case. to change your string or variable vablues in javascript comes with a handy function to make all your text and letters into non capital letters into lower case letters
the function is toLowerCase
example:
var SiteTitle='WALLPAPERAMA WALLPAPERS';
var SiteTitleLower=SiteTitle.toLowerCase();
the above will output: wallpaperama walllpapers instead of WALLPAPERAMA WALLPAPERS
incase you want to change the text to upper case you can use the toUpperCase() function
HOPE THAT HELPS