In the README.md, {{removeFirst}} claims it removes the second parameter from the first, when in fact it removes the first from the second. The first parameter should actually be called substring, and this behavior coincides nicely with the way {{startsWith}} works, with the prefix coming before the target string.
In the README.md,
{{removeFirst}}
claims it removes the second parameter from the first, when in fact it removes the first from the second. The first parameter should actually be calledsubstring
, and this behavior coincides nicely with the way{{startsWith}}
works, with the prefix coming before the target string.