• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching a File

 
Michael L. Taylor
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me in getting started on how I can search a file for a particular String or Number?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
     
    Dirk Schreckmann
    Sheriff
    Posts: 7023
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Oh, and...
    Welcome To JavaRanch!
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic