Err...

        <CFSET Name = "Mac Donald">
        <CFSET NewName = Replace(Name, " ", "", "ALL")>

This will remove all of the spaces in the string.  Is that what you were
looking for?

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Rebecca Joy Sherman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 11, 2002 4:27 PM
> To: CF-Talk
> Subject: is there a trim function to get rid of a space between names
>
>
> Hi all,
>
> Is there a way to get CF to delete the space in between a name.
> ie... "Mac
> Donald" to just "MacDonald"?
>
>
> Thanks,
>
>
> Joy
>
>
>
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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