Normalize End Of Line VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: String Functions

Requires: Base Development System

Converts the line endings of the input string to the line ending format you specify. If you do not specify a line ending format, this VI converts the line endings of the string to the line endings that the current platform expects. Use this VI to make your strings readable by different platforms or by the command line of the current platform.

For example, if you specify UNIX in end of line, LabVIEW converts the line endings of string in to \n because \n is the standard UNIX line ending.

end of line specifies the line ending to which to convert.
Note   In LabVIEW for macOS, Native and Native Command Line are equivalent to UNIX. In LabVIEW for OS X 32-bit, Native and Native Command Line are equivalent to Macintosh.


0Native—Specifies the native line ending of the current platform.
1Native Command Line—Specifies the native line ending of the command line of the current platform.
2UNIX—Specifies the UNIX line ending, used by Linux, macOS, and other UNIX derivatives, \n.
3Macintosh—Specifies the Macintosh Classic line ending, \r.
4DOS—Specifies the standard DOS/Windows line ending, \r\n.
string in specifies the string containing the line endings you want to convert.
string out returns the string with converted line endings.

WAS THIS ARTICLE HELPFUL?

Not Helpful