Parameters

String text
Target text string.
Long dir
Search direction. Must be 1 (Search forward) or 2 (Search Backward). This parameter is optional. If the parameter is not specified, the default is forward.
Long row
Row position at which to start the search in the presentation space. The row of the located text is returned if the search is successful. This parameter is optional. If row is specified, col must also be specified.
Long col
Column position at which to start the search in the presentation space. The column of the located text is returned if the search is successful. This parameter is optional. If col is specified, row must also be specified.