Scott, Set the string as a list and use the space as the delimiter then do a ListGetAt and retrieve the 3rd element in the list
<cfset temp = "Block Info 163.153.124.62 Blocked."> <cfset temp_IP = ListGetAt(Variables.temp, "3", " ")> <cfoutput>#temp_IP#</cfoutput> Ricky -----Original Message----- From: Scott Wilhelm [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 12:18 PM To: CF-Talk Hello: I'm trying to find a data in between a pattern of text from a string...How would I go about getting it? For example, I want to get the ip address from this string "Block Info 163.153.124.62 Blocked." Thanks, Scott ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137968 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

