Limit to Single Line
- Updated2025-08-15
- 1 minute(s) read
Complete the following steps to configure a string constant, control, or indicator to limit the contents of the string to a single line.
- Right-click a string constant, control, or indicator and select Limit to Single Line from the shortcut menu. This option prevents you from entering a carriage return in a string control or indicator.
- Copy a multiline string and paste the strings in the string control or indicator. When you paste a multiline string into a string object that only allows a single line, LabVIEW pastes only the first line.
You also can use the Limit To Single Line? property to programmatically prevent entering a carriage return.