How to find a specific string in a text file and delete that row?
Show older comments
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
Accepted Answer
More Answers (1)
Hassan
on 19 Apr 2013
1 vote
Categories
Find more on Text Data Preparation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!