String::substr
Cases where the end position is either equvalent to the default or past the end of the string.