What version of Cold Fusion? How long is the longest possible string you are searching 
through?

If newer than cf 5, or cf 5 and the max string is less than 20KB,

<cfset fieldName="FirstName">
<cfset fieldVal=rereplace(content,".*#fieldName#: +([^ ]+) +.*","\1")>

(I think)

Jerry Johnson

>>> [EMAIL PROTECTED] 10/21/04 12:26PM >>>
I'm trying to parse through some information in a text document where
there is information like this:



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182215
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to