Set endIndex field.
end index of the range (in bytes). The character at this index is not included in the range.
Set endIndex field.