Getting slices from strings, how to make it work?

BlitzMax Forums/BlitzMax Beginners Area/Getting slices from strings, how to make it work?

... from a for length (b-a)...
The length of the returned slice is always EndIndex - StartIndex elements long,
.. Blitzmax help files.