Campbell Ritchie wrote:I don't think you can insert something into the middle of a text file; do you mean to alter the file's name? Go through this Java™ Tutorials section; look at Copying Paths, etc.
The question isn't about inserting into the middle of a file, regardless of the reference to "current text". And it isn't even about changing the name of the file, regardless of the title of the post. It's more basic than that, the OP just needs to generate the String which is going to be the new name of the file.
posted 4 months ago
Paul you are correct... it was as simple as just converting the string, parsing it, adding the text I needed and then reformatting to complete the name.
Thank you all for your answers here.... now on to my next step.
He's giving us the slip! Quick! Grab this tiny ad!
professionally read, modify and write PDF files from Java