Returns a portion of a String object based on start and end
parameters.
- String
- The String object.
- Start position
- An integer that specifies the beginning of the portion of the String to be
returned.
- End position
- An integer that specifies the end of the portion of the String to be
returned.
Returns a String object that contains the specified substring.
