string GetSubString(string sString, int nStart, int nCount=2147483647);
The original documentation can be found here: https://nwnlexicon.com/index.php?title=GetSubString
On Sinfar This function has been extended work like PHP'substr function: https://php.net/substr so: - nCount is optional - nCount and nStart can be negative