<< Click to Display Table of Contents >> Navigation: Actions > Strings > TXT Extract Line |
This action allows extracting a line by number from a text. The number has to be specified from 1 to the quantity of lines in a text. If the number is incorrect, the action will return an empty line. The action assigns the specified line to a variable for using it in the following steps.
Text from External File
Specify the file name where it is necessary to count the number of lines. It is possible to select the name using the dialog of file selection. Using variables in the file name is possible.
Use this Text
You can set a text in the editing field explicitly. The text can also contain variables.
Line Number
Specify the number of a line which is necessary to extract from a text. Using variables is possible. If non-numeric value is specified, the action generates a run-time error.
Assign Extracted Line to Variable
Specify the name of the variable where the demanded line will be assigned.
Variable
Allows you to add a variable to the action or triggering event that you selected. You must place the cursor in a edit box in the settings dialog window of the action or event and then click the {V} button.
Related Topics