StringRemovePrefixExtension extension
- on
Methods
-
removePrefix(
String prefix) → String -
Available on String, provided by the StringRemovePrefixExtension extension
If this String starts with the givenprefix
, returns a copy of this string with the prefix removed. Otherwise, returns this String.