You want REReplaceNoCase.

-----Original Message-----
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 1:50 PM
To: CF-Talk
Subject: Back-referencing after a REFind to set a variable?


Hi,

Is there a way to do this sort of thing?

<cfscript>
REFind("(before)(HeresTheStringIWant)(after)", myTargetString);
variables.foundstring = \2;
</cfscript>

If not, what's the usual way to go about it? Seems like it could get
pretty ugly if there isn't a similar way.

Thanks,
Jamie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to