Click to See Complete Forum and Search --> : case change


Justin
10-31-2003, 02:33 PM
how do you make everything in a var lowercase so it won't be missiterberated or make it so when it is compared to my file, it won't come up as a non mach because of case

demo
10-31-2003, 03:01 PM
Something like this:

var strVariable = "This is a STRING object";
strVariable = strVariable.toLowerCase( );

This will make:

this is a string object



demo

Justin
11-01-2003, 06:39 AM
thanks

if you change it from

toLowerCase( );

to

toUpperCase( );

would it change it to uppercase?

thanks