Hi can anyone help with a string searh query
Posted: Sun May 07, 2006 6:59 pm
Hi
Basically what im after is a way to search a flat text file for a requested string and be able to remove the said string if its found.
IE.
Text file contents
~~~~~~~~~~~
apple
banana
cherry
If the user types banana into the form and submits it then the text file is appended to have banana removed.
Hope someone can help..
Basically what im after is a way to search a flat text file for a requested string and be able to remove the said string if its found.
IE.
Text file contents
~~~~~~~~~~~
apple
banana
cherry
If the user types banana into the form and submits it then the text file is appended to have banana removed.
Hope someone can help..