Determine if the string matches another string regardless of case.
Twine\Str::insensitiveMatch( string $string ) : bool
$string | The string to compare against |
$string = new Twine\Str('john pinkerton');
$string->insensitiveMatch('JoHN PiNKeRToN'); // Returns true
$string->insensitiveMatch('BoB BeLCHeR'); // Returns false