George Kilroy
12-04-2001, 08:56 PM
I know how to make a script that prints the file, changes the file, or prints just a specific line and print the specific line minus n characters at the end of the line. However I cannot figure out how to grab a specific character in a file nor do I know what this action is called so that I can find documentation on it.
Aragorn
12-05-2001, 02:12 AM
You pose a good question, I don't know this answer myself. My way of going about doing that would be to read the entire file and then use string or re to locate the certain character that you are looking for. Essentially that is what a function that does what your asking would do anyways. It has to load the file into memory for it to be able to find stuff within the file....
Aragorn