Text file reading

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hello12
    New Member
    • Oct 2006
    • 16

    Text file reading

    Hello,
    I was wondering how to get a particular line from a text file. I wanted to output specific lines from a textfile to the console. but the ways i tried is giving me the whole text file. Any help would be great!!
    Thanks in advance
  • hello12
    New Member
    • Oct 2006
    • 16

    #2
    I figured it out.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by hello12
      I figured it out.
      Good for you

      Comment

      • RohiniSrinivasan
        New Member
        • Jan 2007
        • 2

        #4
        to get the output from a particular file you can use the command of
        outputstream.ge tText().getByte s()

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by RohiniSrinivasa n
          to get the output from a particular file you can use the command of
          outputstream.ge tText().getByte s()
          Which outputstream are you talking about? This will not work.

          Comment

          Working...