aspose file tools*
The moose likes Beginning Java and the fly likes Searching a File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Searching a File" Watch "Searching a File" New topic
Author

Searching a File

Michael L. Taylor
Greenhorn

Joined: Aug 07, 2002
Posts: 1
Can anyone help me in getting started on how I can search a file for a particular String or Number?


Thanks,<p>Michael
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
What do you know how to do so far? Are you familiar with reading a text file in?
Are you brand new to I/O? If so, I'd recommend that you take a look at
  • The I/O: Reading and Writing (but no 'rithmetic) Lesson of Sun's Java Tutorial
  • Part 9 of Bradley Kjell's Introduction to Computer Science using Java
  • and Chapter 10 of David J. Eck's Introduction to Programming Using Java
  • Good Luck.


    [How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
    Dirk Schreckmann
    Sheriff

    Joined: Dec 10, 2001
    Posts: 7023
    Oh, and...
    Welcome To JavaRanch!
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Searching a File