src/HString.php
public function toHArray($delim = '', $limit = null)
    {
        if (empty($this->str)) {
            return new HArray();
        }

        $arr = new StringToArray($this->str, $delim);
        return new HArray($arr->stringToArray($limit));
    }
public function toHArray($delim = '', $limit = null)
    {
        if (empty($this->str)) {
            return new HArray();
        }

        $arr = new StringToArray($this->str, $delim);
        return new HArray($arr->stringToArray($limit));
    }
public function toHArray ( $ delim = '' , $ limit = null ) { if ( empty ( $ this -> str ) ) { return new HArray ( ) ; } $ arr = new StringToArray ( $ this -> str , $ delim ) ; return new HArray ( $ arr -> stringToArray ( $ limit ) ) ; }
Alias to PHP function `explode`

@param string $delim
@param null|int    $limit
@return HArray
@throws \InvalidArgumentException
Alias to PHP function explode