Returns the substring specified by a start index and a length from this String object.
If length is not specified, the remainder of this String object is returned.