Write if there is a line, don't write if a line is already..
Posted: Sat Sep 02, 2006 4:57 pm
Is it possible if I want to write to a file, but if the text is already there, then it wont write to it?
example:
If
is in a text file, then
it wont write another same line that says
If
foobar is ISNT in the text file, then
foobar would be written on the text file.
Hope this is clear enough!
example:
If
Code: Select all
foobarit wont write another same line that says
Code: Select all
foobarfoobar is ISNT in the text file, then
foobar would be written on the text file.
Hope this is clear enough!