Converting Strings to Arrays : Split : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » Split »

 

Converting Strings to Arrays


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){


    var keywords:String = "people, new york, friends, picnic";
    var tags:Array = keywords.split(",");
    trace(tags);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo String
» Split