[thelist] ColdFusion & URL Variables
rudy
r937 at interlog.com
Wed Nov 20 10:01:01 CST 2002
christopher, you can leave the design of your url string as is
this will put the values into a new list for you:
<cfset myurlarray = ListToArray(cgi.query_string,"&")>
<cfset newlist = "">
<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 newlist = ListAppend(newlist,route)>
</cfif>
</cfloop>
<cfoutput> #newlist# </cfoutput>
rudy
More information about the thelist
mailing list