gobasic
gobasic copied to clipboard
ZXBasic string slicing
Found a funny feature called string slicing in ZXBasic:
There is a notation called slicing for describing substrings, and this can be applied to arbitrary string expressions.
"abcdef"(2 TO 5)="bcde"
http://www.worldofspectrum.org/ZXBasicManual/zxmanchap8.html