StartOfLine

StartOfLine

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

Details

  • StartOfLine is taken to occur at the beginning of a string, and immediately after every \n newline in the string.

Examples

Basic Examples  (2)

Split a string at the beginning of a line:

Find how many lines start with "We the People" in the U.S. Constitution:

Introduced in 2004
 (5.1)