Text.EndOfLine

From Xojo Documentation

Method

Text.EndOfLine() As Text

Supported for all project types and targets.

Returns the EndOfLine character for the current platform (Mac, Windows, Linux and iOS).

Notes

  • iOS uses CodePoint 13
  • Mac and Linux use CodePoint 10
  • Windows uses CodePoint 10 + CodePoint 13

Sample Code

Dim eol As Text = Text.EndOfLine