[thelist] ColdFusion & URL Variables

rudy r937 at interlog.com
Wed Nov 20 10:03:01 CST 2002


christopher, don't listen to those guys, you can leave the design of your
url string as is

this will put the remove_route= values into a "remove" list for you:

<cfset myurlarray = ListToArray(cgi.query_string,"&")>
<cfset removelist = "">
<cfloop index="i" from="1" to="#ArrayLen(myurlarray)#">
<cfif Lcase(Left(myurlarray[i],13)) is "remove_route=">
  <cfset route = mid(myurlarray[i],14,len(myurlarray[i])-13)>
  <cfset removelist = ListAppend(removelist,route)>
</cfif>
</cfloop>
<cfoutput> #removelist# </cfoutput>


rudy





More information about the thelist mailing list