Substring
by Position
Returns a portion of a String object based on start and
end parameters.
Inputs
- 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.
Output
Returns a String object that contains the specified substring.
