On Apr 30, 2004, at 1:33 PM, Ben Coffman wrote:
> I have a file I want to locate a word within the file and then erase
> that word without erasing the rest of the file. So far all I can get
> out of this is to read in each character until I find the characters
> in the order I need and then I know the location of the word and where
> I need to delete. Unfortunatly I do not know how to go back into the
> file and delete just the specific characters I want to delete...I need
> to do this in Java.
The problem is not well specified. Do you know, a priori, that there is
a unique instance of the word in the file? If there are multiple
instances should you delete all of them?
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss