Str::position()
Returns the position of a needle in a string if it can be found
Parameters
Name | Type | Default |
---|---|---|
$string * | string |
– |
$needle * | string |
– |
$caseInsensitive | bool |
false |
Return type
int
|bool