findText()

This method is used to find a text string within a textRange element that matches the string stated as the parameter (in brackets) of the findText() method.

syntax:

findText(text string)

This method is used with the following:

textRange