Results 1 to 2 of 2

Thread: Text Files

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

    Default Text Files

    Hey.

    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
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    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, 09:09 AM
  2. Reading In Text Files
    By Dukey in forum New To Java
    Replies: 4
    Last Post: 04-05-2009, 12:53 AM
  3. working with files (text files)
    By itaipee in forum New To Java
    Replies: 1
    Last Post: 02-24-2009, 12:38 PM
  4. Behaving text files like binary files
    By Farzaneh in forum New To Java
    Replies: 2
    Last Post: 08-27-2008, 04:20 PM
  5. Text and image files within jar files
    By erhart in forum Advanced Java
    Replies: 8
    Last Post: 01-19-2008, 05: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
  •