Results 1 to 2 of 2

Thread: Text Files

  1. #1
    techkid6 is offline Member
    Join Date
    Sep 2012
    Rep Power

    Default Text Files


    I have a simple question about reading text files. I know HOW to read them, but is there a way to per se, find which row and column character x is in or edit a character at row y and column z? Thank you

    - techkid6

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

    Default Re: Text Files

    Sure, if you read it in to an ArrayList<String> simply get the yth item in the list, create a new String with the zth character changed, swap Strings at the yth position in the ArrayList.

Similar Threads

  1. Help. two text files
    By Sedas in forum JDBC
    Replies: 10
    Last Post: 10-05-2010, 08:09 AM
  2. Reading In Text Files
    By Dukey in forum New To Java
    Replies: 4
    Last Post: 04-04-2009, 11:53 PM
  3. working with files (text files)
    By itaipee in forum New To Java
    Replies: 1
    Last Post: 02-24-2009, 11:38 AM
  4. Behaving text files like binary files
    By Farzaneh in forum New To Java
    Replies: 2
    Last Post: 08-27-2008, 03:20 PM
  5. Text and image files within jar files
    By erhart in forum Advanced Java
    Replies: 8
    Last Post: 01-19-2008, 04:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts