Don't use the toLowerCase()
Because when I write my name like: "Bernard Visscher" I don't want the
output to be "Bernard visscher" with the lowercase V.


> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Steven Sacks | BLITZ
> Verzonden: dinsdag 1 augustus 2006 19:20
> Aan: Flashcoders mailing list
> Onderwerp: RE: [Flashcoders] String Empowerment
> 
> Right you are!  Thanks!
> 
> BLITZ | Steven Sacks - 310-551-0200 x209
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> [mailto:flashcoders- 
> > [EMAIL PROTECTED] On Behalf Of Heerko van der Kooij
> > Sent: Tuesday, August 01, 2006 9:12 AM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] String Empowerment
> > 
> > Hi Steven,
> > 
> > Maybe i'm saying something stupid here, but would this be a 
> prettier 
> > way to do the capitalize?
> > 
> > String.prototype.capitalize = function() {
> >     return this.charAt(0).toUpperCase() +
> this.substr(1).toLowerCase();
> > }
> 
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to