Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
Parameters
str
string to substring.
start_index
The zero-based starting character position of a substring in this instance.
Returns
A string equivalent to the substring of length length that begins at start_index in this instance, or Empty if start_index is equal to the length of this instance and length is zero.