I am getting the output as 0,1,2,3. I need this to be split into array
我得到的输出为0,1,2,3。我需要将它拆分成数组
2 个解决方案
#1
var a:Array = s.split(",")
#2
In addition to Vinay's answer, here is a link to the documentation:
除了Vinay的答案,这里是文档的链接:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/String.html#split()
#1
var a:Array = s.split(",")
#2
In addition to Vinay's answer, here is a link to the documentation:
除了Vinay的答案,这里是文档的链接:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/String.html#split()