The easiest way would be:

#UCase(Left(FIRSTNAME, 1))##LCase(Right(Firstname, Evaluate(Len(Firstname) -
1)))#

Or a variance thereof.

Hatton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 11:47 PM
To: CF-Talk
Subject: How to make 'FIRSTNAME' appear as 'Firstname' - i.e. sentence
case


Hi, does anyone know how to make FIRSTNAME from a database appear as
Firstname for the purpose of sending emails to customers.

It would look weird sending emails as:

Dear FIRST NAME,

So I'm finding it a challnge to format this properly as:

Dear Firstname

Appreciate any help.

Thanks,
Pardee.

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to