Closed rexagod closed 4 months ago
Use TrimSuffix instead of TrimRight in cases where an exact suffix string needs to be removed, not all occurrences of all characters in a specified cutset.
TrimSuffix
TrimRight
Fixes: #507
Is this good to go in now? I'm not sure if anything is needed here from my end, but if so, PLMK, thanks!
Use
TrimSuffix
instead ofTrimRight
in cases where an exact suffix string needs to be removed, not all occurrences of all characters in a specified cutset.Fixes: #507