src/JumpGate/Database/Traits/Collection/Helpers.php
public static function explode($delimiter, $string, $limit = null)
    {
        $array = explode($delimiter, $string);

        if (! is_null($limit)) {
            $array = explode($delimiter, $string, $limit);
        }

        return new static($array);
    }
public static function explode($delimiter, $string, $limit = null)
    {
        $array = explode($delimiter, $string);

        if (! is_null($limit)) {
            $array = explode($delimiter, $string, $limit);
        }

        return new static($array);
    }
public static function explode ( $ delimiter , $ string , $ limit = null ) { $ array = explode ( $ delimiter , $ string ) ; if ( ! is_null ( $ limit ) ) { $ array = explode ( $ delimiter , $ string , $ limit ) ; } return new static ( $ array ) ; }
Explode a string and return a collection.

@param string $delimiter
@param string $string
@param int    $limit

@return $this
Explode a string and return a collection .