Use split(String) method to split String to array of strings : Split : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » Split »

 

Use split(String) method to split String to array of strings


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var state:String = "Mississippi";
        var foo:Array = state.split("ss");
        trace(foo);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» Split