Returns the end index of the text. This index is the index of the first character following the end of the text.
the index after the last character in the text