This action will search a text file for specific text and return the zero-based line number where the text is found.
Action ID: 44
Action Category:
Text Files
The full path and filename of the text file to search in.
This is the string that the action will search for. The search is not case-sensitive.
The zero-based line number that you want to start searching from. Note: the line at this line number will be included in the search.
This is the variable that will store the zero-based line number that represents the line where the search string was found.
This is the default value of the variable. The variable will be set to this value if the text is not found in the text file.
Value |
Simple Message |
Verbose Message |
0 (OK) |
|
|
1 |
Failed to find text line. |
File not found. |
2 |
Failed to find text line. |
Error opening file. |
3 |
Failed to find text line. |
The file is too large to be read |
None available.
See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab