RE: How to extract variable and its value from URL
- From: "Brendan Grant" <grantb@xxxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 12:14:04 -0700
This variable getting... do you want to do this to a URL, or from within a
page that has been requested with those variables?
If it is the 2nd, take a look at the Response class which you can easily
query with...
int varA,varB;
varA = Response["a"];
varB = Response["b"];
Brendan
"Jozef Jarosciak" wrote:
> I have url:
> www.site.com/index?a=1&b=2
> www.site.com/index?a=1
>
> and I need a regex or some solution to extract 'a' variable and its
> value.
>
> Any ideas?
> joe
>
>
.
- References:
- How to extract variable and its value from URL
- From: Jozef Jarosciak
- How to extract variable and its value from URL
- Prev by Date: Re: using statement in C#
- Next by Date: Re: How to extract variable and its value from URL
- Previous by thread: How to extract variable and its value from URL
- Next by thread: Re: How to extract variable and its value from URL
- Index(es):
Relevant Pages
|