This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Built-in Mathematica SymbolTutorials »|See Also »

AnchoredSearch

AnchoredSearch
is an option for Find and FindList which specifies whether the text searched for must be at the beginning of a record.
Find lines starting with "def":
Find lines with "def" anywhere in the line:
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