WLJS LogoWLJS Notebook

StartOfLine

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

Examples

StringCases["line1\nline2\nline3", StartOfLine ~~ __ ~~ EndOfLine]
StringMatchQ["hello", StartOfLine ~~ "hello"]

Please visit the official Wolfram Language Reference for more details.

On this page