src/helpers/Backbone.php
public static function tokenize($string, $delimiter)
    {
        $result = '';
        $token = strtok($string, $delimiter);
        $result .= $token;

        while ($token) {
            $token = strtok($delimiter);
            $result .= ',' . $token;
        }

        return chop($result, ',');
    }
public static function tokenize($string, $delimiter)
    {
        $result = '';
        $token = strtok($string, $delimiter);
        $result .= $token;

        while ($token) {
            $token = strtok($delimiter);
            $result .= ',' . $token;
        }

        return chop($result, ',');
    }
Break down a delimited statement into set of string separated by comma

@param string $statement Statement to be broken down
@param string $delimiter Character being searched for to bring about the break down
@return string Comma-separated set of string