#url.pCode#?

ps. Leave the question mark off... :)
-- 
 jon
 mailto:[EMAIL PROTECTED]

Wednesday, September 25, 2002, 5:37:34 PM, you wrote:
CA> I want to extract a value from a URL variable which can show up anywhere in
CA> the URL. Here are some examples, I would want the pCode value which will
CA> always be an integer of varying length:

CA> index.htm?var1=23&pCode=100&othervar=hello -------- return 100

CA> index.htm?pCode=1 ------- return 1

CA> index.htm?someVariabl=hiThere&someothervariable=45&pCode=00343223234322
CA> --------- return 00343223234322

CA> If somebody can tell me the right regular expression (or if a regular
CA> expression isn't even needed, but just some combination of CF functions)
CA> that would be GREAT!

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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