The string value to return the substring from.
The index of the first character to include in the returned substring.
Optional
length: numberThe number of characters to extract.
A new string containing the specified part of the given string.
0.4.2
The polyStrSubstr() method returns a portion of the string, starting at the specified index and extending for a given number of characters afterwards.