#UCase(Left(word, 1))##Right(word, Len(word) - 1)# - this will capitalize
the first letter and leave the rest the same.  Add an LCase() around the
second CF Variable to lower case those letters.

Alex Santantonio
Lead Developer
Macromedia Coldfusion 5 Certified Professional
Macromedia Certified Web Site Developer
[EMAIL PROTECTED] 
www.doceus.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:21 PM
To: CF-Talk
Subject: Capitalize first characters

Hi all, I'm just starting to learn coldfusion and I'm looking for a function
or a way to capitalize the first character of words in a string.  Can this
be done?  Can someone help me with this? 

Thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to