Returns the string that removed the rightmost given string, case-insensitive
Optional
the text to inspect
the string to remove, case-insensitive
the string that removed the rightmost given string, case-insensitive
removeEndIgnoreCase('foobar', 'Hello'); // 'foobar'removeEndIgnoreCase('foobar', 'Bar'); // 'foo' Copy
removeEndIgnoreCase('foobar', 'Hello'); // 'foobar'removeEndIgnoreCase('foobar', 'Bar'); // 'foo'
Returns the string that removed the rightmost given string, case-insensitive