moveEnd()

This method is used to move the end point of the textRange field, and is measured in four ways:

character - This is a case sensitive value which will represent one capital letter of the font being used.
word - This is a case sensitive value which will represent the width of the first word within the textRange.
sentence - This is a case sensitive value which will represent the width of the textRange box.
textEdit - This value moves the insertion point to the start of the original range.

syntax:

moveEnd(unit , amount)

This method is used with the following:

textRange