subSequence
Copies the selected range into an immutable String.
Later changes to this builder do not affect the result. An empty range is allowed.
Return
an independent snapshot of the selected content.
Parameters
startIndex
first UTF-16 code unit to include.
endIndex
exclusive end of the range.
Throws
if the range is reversed or extends outside 0..length.