EndOfLine

EndOfLine

represents the end of a line in a string for purposes of matching in StringExpression.

Details

  • EndOfLine is taken to occur at the end of a string, and immediately before every \n newline in the string.

Examples

Basic Examples  (2)

Split a string at the end of a line:

Find how many paragraphs are in the U.S. Constitution:

Wolfram Research (2004), EndOfLine, Wolfram Language function, https://reference.wolfram.com/language/ref/EndOfLine.html.

Text

Wolfram Research (2004), EndOfLine, Wolfram Language function, https://reference.wolfram.com/language/ref/EndOfLine.html.

CMS

Wolfram Language. 2004. "EndOfLine." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EndOfLine.html.

APA

Wolfram Language. (2004). EndOfLine. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EndOfLine.html

BibTeX

@misc{reference.wolfram_2024_endofline, author="Wolfram Research", title="{EndOfLine}", year="2004", howpublished="\url{https://reference.wolfram.com/language/ref/EndOfLine.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_endofline, organization={Wolfram Research}, title={EndOfLine}, year={2004}, url={https://reference.wolfram.com/language/ref/EndOfLine.html}, note=[Accessed: 21-December-2024 ]}