*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Searching a File
     
    Similar Threads
    xml4j.jar
    Inheritence with JSP
    IllegalStateException
    File constructor
    JspTranslate: No such tag.................