Oh Yeah! ReMatch... forgot about that one for a minute. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com
-----Original Message----- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Tuesday, February 15, 2011 12:26 PM To: cf-talk Subject: Re: string function??? thanks guys the combination of the 2 answers works perfectly: <cfset str = '({name1}+{name2})/365.25' /> <cfdump var="#rematch('\{(.*?)\}', str)#" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342293 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm