This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

EndOfLine

EndOfLine
represents the end of a line in a string for purposes of matching in StringExpression.
  • EndOfLine is taken to occur at the end of a string, and immediately before every \n newline in the string.
Split a string at the end of a line:
In[1]:=
Click for copyable input
Out[1]//InputForm=
 
Find how many paragraphs are in the U.S. Constitution:
In[1]:=
Click for copyable input
Out[1]=
New in 5.1