split querystring

G

Guest

I'm passing a querystring to another page and the string has True and a
number associated with the true.

the string looks like this:

true|false|false|1|2|3|
(true & false is the value of the checkbox)
how can i split this string up and only show True and the number associated
with it?
 
J

John Timney \(Microsoft MVP\)

Use string.split to parse the string on the |, then simply pull out valuesat
positions 1 + 3 , 2 + 3 and 3 + 3 to get your key pairs.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top