FindText

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > List box control > Methods >

FindText


 

Search for a character and get the line index.

 


syntax

FindText(

         index,

         text

         [,perfectEqual = TRUE]

         )

 


Parameters

 

index


Type:

Number


The zero-based row index at which to begin the search.

 

text

 

Type:

character

 

The character to search for.

 

perfectEqual


Type:

Boolean


TRUE - The character matches exactly. FALSE - The character is contained in the line.

 

Return Value



Type:

Number


The index of the searched row, or -1 on failure.

 


hmtoggle_plus1Explanation

 


reference