How to find a specific string in a text file and delete that row?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Hassan
le 19 Avr 2013
1 vote
Catégories
En savoir plus sur Text Data Preparation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!