remove suffix from string
to be processed string
string
5.5.0
[[trimPrefix]]
trimSuffix("123456789", "789")// => '123456' Copy
trimSuffix("123456789", "789")// => '123456'
remove suffix from string