How to find a specific string in a text file and delete that row?
Ältere Kommentare anzeigen
Hi
I have text file that includes a register with personnumbers and names of peoples. I want to be able to edit that textfile by giving the code the name as a string input, and the code deletes the corresponding row to that name.
I have looked around, but I can't find any good example for this. Thank you for your help.
Regards
Akzeptierte Antwort
Weitere Antworten (1)
Hassan
am 19 Apr. 2013
1 Stimme
Kategorien
Mehr zu Text Data Preparation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!