Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

FindList

Usage

FindList["file", "text"] gives a list of lines in the file that contain the specified string.
FindList["file", {" ", " ", ... }] gives a list of all lines that contain any of the specified strings.
FindList[{" ", ... }, ... ] gives a list of lines containing the specified strings in any of the  .
FindList[files, text, n] includes only the first n lines found.


Notes

FindList returns {} if it fails to find any record which contains the specified text.
• If FindList opens a file or pipe, it closes it again when it has finished.
• See notes for Find.
• See also: ReadList.
• New in Version 2.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: