StringRemoveSuffixExtension extension
- on
Methods
-
removeSuffix(
String suffix) → String -
Available on String, provided by the StringRemoveSuffixExtension extension
If this String ends with the givensuffix
, returns a copy of this String with the suffix removed. Otherwise, returns this String.