Description

TrimSuffix returns s without the provided trailing suffix string. If s doesn't end with suffix, s is returned unchanged.