Returns whether the given string starts with the prefix, case-insensitive
Optional
the source string to check
the target string to compare
whether the given string starts with the prefix, case-insensitive
startsWithIgnoreCase('foobar', 'FOO'); // truestartsWithIgnoreCase('hello', 'BAR'); // false Copy
startsWithIgnoreCase('foobar', 'FOO'); // truestartsWithIgnoreCase('hello', 'BAR'); // false
Returns whether the given string starts with the prefix, case-insensitive