SubStr is available since version 1.0.
Prototype:
string SubStr(string str, number start, number length)
Description:
Returns a sub string from the given string(str). The start parameter is the index of the start character, the length is the length of the sub string.
Return value:
Returns the sub string.