Str::startsWith()
Checks if a string starts with the passed needle
Parameters
Name | Type | Default |
---|---|---|
$string * | string |null |
– |
$needle * | string |
– |
$caseInsensitive | bool |
false |
Return type
bool