var my_str:String = "P,A,T,S,Y";
var my_array:Array = my_str.split(",");
for (var i = 0; i<my_array.length; i++)
{
trace(my_array[i]);
}
// output: P A T S Yeasily found in the documentation. On 10/19/06, Carl Welch <[EMAIL PROTECTED]> wrote:
Oi, All. I am recieving a comma delimitted list/String from MySql that looks like this: 0,0,0,26.361817121505737,10.903573036193848,7.390960305929184, 24.12494868040085,21.304115653038025,6.756003946065903,11.561043560504913 I am trying to convert it into an Array. I used to do something like it in MM Director, but I cannot figure out how to do it in AS. Can someone help a brother out? Thank you!!!!!!!!!!!!!!!!! -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

