7

I am getting the output as 0,1,2,3. I need this to be split into array

1
  • why the downvote? just answer the question if it's clearly answerable. Commented Jul 15, 2009 at 15:57

2 Answers 2

18
var a:Array = s.split(",")
Sign up to request clarification or add additional context in comments.

Comments

3

In addition to Vinay's answer, here is a link to the documentation:

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/String.html#split()

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.