Pick Line Function
- Updated2025-07-30
- 2 minute(s) read
Chooses a line from multi-line string and appends that line to string.
The connector pane displays the default data types for this polymorphic function.

Inputs/Outputs
string ("")
—
string is the string to which LabVIEW appends the string selected from multi-line string. The default is an empty string.
multi-line string
—
multi-line string contains one or more substrings separated by linefeeds.
line index
—
line index selects the line the function appends from multi-line string. line index must be numeric. A line index of 0 selects the first line. If line index is negative or is greater than or equal to the number of lines in multi-line string, the function sets output string to string.
output string
—
output string is the resulting string. |
string ("")
—
line index
—
output string
—