Returns the string that removed the leftmost given string
Optional
the text to inspect
the string to remove
the string that removed the leftmost given string
removeEnd('foobar', 'hello'); // 'foobar'removeEnd('foobar', 'bar'); // 'foo' Copy
removeEnd('foobar', 'hello'); // 'foobar'removeEnd('foobar', 'bar'); // 'foo'
Returns the string that removed the leftmost given string