Returns a new character sequence that is a subsequence of this sequence.
An invocation of this method of the form
behaves in exactly the same way as the invocationstr.subSequence(begin, end)
This method is defined so that the String class can implement thestr.substring(begin, end)
CharSequence
interface.
beginIndex | the begin index, inclusive. | |
endIndex | the end index, exclusive. |
@spec JSR-51
Diagram: String