std::string::slice
Creates a new string from a existing one, from a range.
Parameters
input@rf11:String- the string to get the byte from. Triggers Checked Illegal Behavior if it’s not a string.start@rv11:u64- the index of the starting positionend@rv11:u64- the index of the final position
Return
- rv10 - error code
- rf11:
String- a new string built from the bytes fromstarttoend
Errors
1:startis greater than the string length.2:endis greater than the string length.3:startis greater thanend