Str::until()
Returns the beginning of a string until the given character
Str::until(string $string, string $needle, bool $caseInsensitive = false): stringParameters
| Name | Type | Default | 
|---|---|---|
| $stringrequired | string | no default value | 
| $needlerequired | string | no default value | 
| $caseInsensitive | bool | false | 
Return type
string