Here is a string I need to change.
<cfset QueryString =
"#REReplaceNoCase("#QueryString#","&Oby=OrderID&Stype=Asc","")#">
I need to replace "&Oby=OrderID&Stype=Asc" where "OrderID" could be anything
so I need a wildcard in there. And same with with Stype which could be "Asc"
or "Desc" so I also need a wildcard in there.
So something like this
<cfset QueryString =
"#REReplaceNoCase("#QueryString#","&Oby=[*]type=[*]","")#">
TIA
Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4