Str::until()
Returns the beginning of a string until the given character
Str::until(string $string, string $needle, bool $caseInsensitive = false): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string |
string |
– | |
$needle |
string |
– | |
$caseInsensitive |
bool |
false |
Return type
string