StringRemoveSuffixExtension extension

on

Methods

removeSuffix(String suffix) String
If this String ends with the given suffix, returns a copy of this String with the suffix removed. Otherwise, returns this String.