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 1 week 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.
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java