Introduced 'string.slice' Object
Since version 0.23.8 it is possible to use
string.slice
object just like this:
"Привет".slice 1 2
Here, the slice object returns the “ри” string, which is a substring of the “Привет” string
from the specified start position and with the length len.
If the above parameters are out of bounds, slice will return
an error object instead of a new string object.
Visit our paper to get more details.