unless i'm missing something... 

<cfoutput>#url.pCode#</cfoutput> 

? 

charlie 


Cantrell, Adam writes: 

> I want to extract a value from a URL variable which can show up anywhere in
> the URL. Here are some examples, I would want the pCode value which will
> always be an integer of varying length: 
> 
> index.htm?var1=23&pCode=100&othervar=hello -------- return 100 
> 
> index.htm?pCode=1 ------- return 1 
> 
> index.htm?someVariabl=hiThere&someothervariable=45&pCode=00343223234322
> --------- return 00343223234322 
> 
> If somebody can tell me the right regular expression (or if a regular
> expression isn't even needed, but just some combination of CF functions)
> that would be GREAT! 
> 
> Adam. 
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to