This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
BUILT-IN MATHEMATICA SYMBOLTutorials »|See Also »

AnchoredSearch

AnchoredSearch
is an option for Find and FindList that 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