Actually trim() only removes leading and trialing spaces So "De Salvo" would stay "De Salvo"
But " De Salvo " would become "De Salvo" ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Tim Claremont [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 2:29 PM To: CF-Talk Subject: Re: Employee name By using the Trim method it will remove the spaces if a person has a space in their last name like "De Salvo" or something like that. >How about this... > ><CFSET Username = #Trim(Left(Employee_FName,1))#&#Trim(Employee_lname)#> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226309 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

