mohdqallaf: but i couldnt fix remove a csv line row or in other term file line content.
Because you can't. They are variable length lines. Read them in to an array, seek to the beginning, write back out what you want.
mohdqallaf:
Could you give me a sulotion that read and remove
Maybe you might consider using sqlite3 databases. I took a day and mastered everything. It's much better than working with files.
Could you give me a sulotion that read and remove
And another write..?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
i was reading that article https://www.mql5.com/en/articles/2720 i have got most of what i need i learned how to write and read csv lines.
but i couldnt fix remove a csv line row or in other term file line content.
here is a test.csv
when i wanted to remove the the 3rd line so i thought it will get sorted so the 4th will be the 3rd and so on, here is the script i used the idea
here where the 3rd line to get modified
after the above will the result
how can i sort the 4 and 5th line to move up.., my project scripts write and read like afew lines and somehow i do remove random csv line rows, but if i didnt fix it so will be new line and lines get empty tables and a file of full empty lines