Exatly where I was going, and would have gone had I not been a lazy ass. Thanks Nelson. V ----- Original Message ----- From: "nelson ramirez" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, October 19, 2006 8:54 PM
Subject: Re: [Flashcoders] Converting a comma delimitted list to an array fromMySql


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 Y

easily 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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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


_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to