public function split($separator)
    {
        $temp = explode($separator, $this->toString());
        $list = ArrayList::asType($this->getClassName(), $temp);
        return $list;
    }
public function split($separator)
    {
        $temp = explode($separator, $this->toString());
        $list = ArrayList::asType($this->getClassName(), $temp);
        return $list;
    }
public function split ( $ separator ) { $ temp = explode ( $ separator , $ this -> toString ( ) ) ; $ list = ArrayList :: asType ( $ this -> getClassName ( ) , $ temp ) ; return $ list ; }
Split string by separator
@param string $separator
@return \PerrysLambda\ArrayList
Split string by separator