public function split($string, $delimiter) : self
    {
        $this->expr->split($string, $delimiter);

        return $this;
    }
public function split($string, $delimiter) : self
    {
        $this->expr->split($string, $delimiter);

        return $this;
    }
public function split ( $ string , $ delimiter ) : self { $ this -> expr -> split ( $ string , $ delimiter ) ; return $ this ; }
Divides a string into an array of substrings based on a delimiter.

$split removes the delimiter and returns the resulting substrings as
elements of an array. If the delimiter is not found in the string, $split
returns the original string as the only element of an array.

@see https://docs.mongodb.com/manual/reference/operator/aggregation/split/

@param mixed|Expr $string    The string to be split. Can be any valid expression as long as it resolves to a string.
@param mixed|Expr $delimiter The delimiter to use when splitting the string expression. Can be any valid expression as long as it resolves to a string.
Divides a string into an array of substrings based on a delimiter .