Normalize End Of Line function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) String palette
Type VI
Requires Basic Development Environment
Icon String Palette - Normalize End Of Line.png

The End Of Line function 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.

Usage

The end of line enum includes:

0 Native—Specifies the native line ending of the current platform.
1 Native Command Line—Specifies the native line ending of the command line of the current platform.
2 UNIX—Specifies the UNIX line ending, used by Linux, macOS, and other UNIX derivatives, \n.
3 Macintosh—Specifies the Macintosh Classic line ending, \r.
4 DOS—Specifies the standard DOS/Windows line ending, \r\n.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links