StringSliceExtension extension
Methods
-
slice(int start, [int end = -1])
→ String
-
Available on String,
provided by the StringSliceExtension extension
Returns a new substring containing all characters between start
(inclusive) and end
(inclusive).
If end
is omitted, it is being set to lastIndex
.