MiscUtilsOnStringExtension extension
- on
Methods
-
replaceLast(
Pattern from, String replace, [int startIndex = 0]) → String -
Available on String, provided by the MiscUtilsOnStringExtension extension
Replaces the last occurrence offromwithreplacestarting atstartIndex. -
splitByLastOccurrenceOf(
String separator) → List< String> -
Available on String, provided by the MiscUtilsOnStringExtension extension
-
truncToLength(
int length) → String -
Available on String, provided by the MiscUtilsOnStringExtension extension
Truncates the string to the givenlength. -
withNormalizedWhitespace(
[String replace = ' ']) → String -
Available on String, provided by the MiscUtilsOnStringExtension extension
Replaces all whitespace characters withreplace.