Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-16-2009, 11:14 PM #1
- Join Date
- Jun 2002
- Thanked 0 Times in 0 Posts
Matching a Name value in the URL and How do you?
I need to extract "name" from the URL that is case insensitive.
For instance, lets say I wanted to find the following in the url:
BUT the url can have:
How can I extract the: wT.NN_iz and put that in a variable?
The reason being is that users can link to my site with that in case insensitive, so I have to be able to identify "WT.nn_iz" no matter how it comes in.
03-16-2009, 11:59 PM #2
Perhaps easiest is to just force the string to all upper or all lower case and then search for the name in just that one case.
You can use stringName = stringName.toLowerCase(); for example. And then search for "wt.nn_iz"