Command Reference - Text File Actions
Searches a text file for specific text and returns the zero-based line number where the text was found. Returns -1 if the text cannot be found in the text file.
|
Action ID: |
57 |
The full path and filename of the text file to search in.
The string to search for. Note: the search is not case-sensitive.
The zero-based line number that you want to start searching from. Note: the line of text at this line number will be included in the search.
The variable that will hold the zero-based line number that represents the line where the search string was found. If the search string cannot be found, -1 will be stored in this variable instead.
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
|
1 |
MSG_ERR_FIND_TEXT_LINE |
MSG_ERR_FIND_TEXT_LINE |
|
2 |
MSG_ERR_FIND_TEXT_LINE |
MSG_ERR_FIND_TEXT_LINE |
|
3 |
MSG_ERR_FIND_TEXT_LINE |
MSG_ERR_FIND_TEXT_LINE |
|
4 |
MSG_ERR_FIND_TEXT_LINE |
MSG_ERR_FIND_TEXT_LINE |