Please enable JavaScript to view this site.

ESL Documentation

Action Inquiry Built-in Function

Return whether find was successful.

found

Description

found is a boolean function, returning the value true if the string was found, and false if it was not.

Use the found function only to test the success of a find action statement.

Example

 

response to More

 find in Document SearchString

 while (found) loop

         ...

 end loop

 

response to NewPage

 find in Document "page #"

 if (found) then

         ...

 end if

See Also

find in Action Statement