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
Printable View
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
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.