Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to keep same position in 2 tokenized strings

Status
Not open for further replies.

eakinpeter

Programmer
Mar 21, 2006
7
0
0
GB
Hi all

I have 2 strings string1 and string2 which are both comma delimted. What I wasnt to do is tokenize xsl helper on both strings and then cycle round them.

i.e. I want to do something with the 1st value in both lists then the 2nd value in both lists and so on.

ultimately I want something like a foreach but have access to the current index value in both lists

How can i do this?

Thanks
Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top