The split() method asks that you specify the delimiter it should use to determine the elements of the list : Split : Array Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Array » Split »

 

The split() method asks that you specify the delimiter it should use to determine the elements of the list


 

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

        var sEmployees:String = "A,P,C,H";
        var aEmployees:Array = sEmployees.split(",");
        trace(aEmployees)
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Array
» Split