Please can someone help me out with this...
I have a query string in a url that contains both numbers and letters. I need to store the numbers in one session and the letters in another session variable. The numbers come before the letters. The numbers could be 3 to 7 digits long and then followed by letters. Can anyone please tell me how to strip the numbers out first and also then put the left over letters into a another session variable.
Example: 12345 (could be 3 to 7 digits long) needs to be in one session variable.
xxxxxxxxxx (could be any number of characters long) needs to be in another session variable.
Many thanks
I have a query string in a url that contains both numbers and letters. I need to store the numbers in one session and the letters in another session variable. The numbers come before the letters. The numbers could be 3 to 7 digits long and then followed by letters. Can anyone please tell me how to strip the numbers out first and also then put the left over letters into a another session variable.
Example: 12345 (could be 3 to 7 digits long) needs to be in one session variable.
xxxxxxxxxx (could be any number of characters long) needs to be in another session variable.
Many thanks