replace string in a textfile<

liunx

Guest
hey

i need to replace a string in a text file. i can't have the text file in a db because it's an emu that reads the txt file.

re-writing the whole code is not an option either, cause the txtfile is updated alot (every 10 sex).

if anyone have any idea at all please share it o0.

thanls in advanceyou cant just replace text. you have to read all of the content into a variable, replace what you want, then write all of it back to the file.yeah well, i just wanted to confirm that this isn't possible, i already said that rewriting the whole code can't be used *sob* :D
 
Back
Top