src/Helpers/Request/StringHelper.php
public function explode($string, $delimiter = ',', $trim = true, $skipEmpty = false)
    {
        return $this->proxy(__FUNCTION__, [$string, $delimiter, $trim, $skipEmpty]);
    }
public function explode($string, $delimiter = ',', $trim = true, $skipEmpty = false)
    {
        return $this->proxy(__FUNCTION__, [$string, $delimiter, $trim, $skipEmpty]);
    }
Explodes string into array, optionally trims values and skips empty ones.

@param string $string String to be exploded.
@param string $delimiter Delimiter. Default is ','.
@param mixed $trim Whether to trim each element. Can be:
- boolean - to trim normally;
- string - custom characters to trim. Will be passed as a second argument to `trim()` function.
- callable - will be called for each value instead of trim. Takes the only argument - value.
@param bool $skipEmpty Whether to skip empty strings between delimiters. Default is false.
@return array
@see \Reaction\Helpers\StringHelper::explode()