BUILT-IN MATHEMATICA SYMBOL

AnchoredSearch

AnchoredSearch
is an option for Find and FindList that specifies whether the text searched for must be at the beginning of a record.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Find lines starting with "def":

In[1]:=
Click for copyable input
Out[1]=

Find lines with "def" anywhere in the line:

In[1]:=
Click for copyable input
Out[1]=
New in 2
New to Mathematica? Find your learning path »
Have a question? Ask support »