Re: [flexcoders] how can I parse this Srting in Flex

2009-10-30 Thread thomas parquier
You can use split and access elements in result array with i and i+1, using a for loop with step of 2. thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056

RE: [flexcoders] how can I parse this Srting in Flex

2009-10-30 Thread Gordon Smith
I would use String's split() method to split your string on the | character into the Array [ Label1, url1, label2Explorer, url2, Label3, url3 ]. Then you can use a for-loop to walk through this 6-element array and create a new 3-element array by combinding elements 0/1, 2/3, and 4/5. But if