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

Documentation / Mathematica / Built-in Functions / Input and Output / File Input /

FindList

FilledSmallSquare FindList["file", "text"] gives a list of lines in the file that contain the specified string.

FilledSmallSquare FindList["file", "", "", ... ] gives a list of all lines that contain any of the specified strings.

FilledSmallSquare FindList["", ... , ... ] gives a list of lines containing the specified strings in any of the .

FilledSmallSquare FindList[files, text, n] includes only the first n lines found.

FilledSmallSquare FindList returns {} if it fails to find any record which contains the specified text.

FilledSmallSquare If FindList opens a file or pipe, it closes it again when it has finished.

FilledSmallSquare See notes for Find.

FilledSmallSquare See Section 1.11.2 and Section 2.12.9.

FilledSmallSquare See also: ReadList.

FilledSmallSquare New in Version 2.



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


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