Keyboard Face
msgbartop
when you find QWERTY imprinted on your cheek – it’s time to go to bed.
msgbarbottom

03 Feb 06 javascript lcase

The javascript equivalent to vbscript’s lcase() function is .toLowerCase(). Here’s an example:

var myVar;<br />
myVar = 'HELLO';
myVar = myVar.toLowerCase();
alert(myVar);

The output is, of course, “hello”.

As you could guess, the equivalent to vbscript’s ucase() function is .toUpperCase(). Pretty self explanatory. Here’s a link to other javascript string functions.

Share and Enjoy:
  • del.icio.us
  • digg
  • Furl
  • NewsVine
  • RawSugar
  • Reddit
  • Spurl
  • YahooMyWeb

For more information, visit Scientology.org