M
Maya
Hi.
I wrote a procedure tha scan tx file, look for specific word and replace it
by other.
the problem I have is when the replaceable word is shorter than the
original - I got at the end of the file garbage character. That meen if I
had replaced all the apperance of the word 'red' with the word 'yellow'
which were 9 times at the txt file. I would have at the end of the txt file
21 character. If I replace with a longer word the txt file will be O.K.
I don't want to copy it to a new file.
can anyone help me with that bug.?
Thanks.
I wrote a procedure tha scan tx file, look for specific word and replace it
by other.
the problem I have is when the replaceable word is shorter than the
original - I got at the end of the file garbage character. That meen if I
had replaced all the apperance of the word 'red' with the word 'yellow'
which were 9 times at the txt file. I would have at the end of the txt file
21 character. If I replace with a longer word the txt file will be O.K.
I don't want to copy it to a new file.
can anyone help me with that bug.?
Thanks.