There is... GetToken() <cfset name = "Pete Freitag"> <cfset firstname = GetToken(name, 1)> <cfset lastname = GetToken(name, 2)>
_____________________________________________ Pete Freitag ([EMAIL PROTECTED]) CTO, CFDEV.COM ColdFusion Developer Resources http://www.cfdev.com/ -----Original Message----- From: Paul Black [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 09, 2002 7:28 PM To: CF-Linux Subject: Splitting a string I'm working on a web site where I need to spilt a name string such as "Paul Black" into firstname and lastname. I'm a bit suprised that there is no obvious CF function to do this. What is the easiest way to split a string using CF? Thanks. Paul ______________________________________________________________________ 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 ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
