Finding a word in text file
Afficher commentaires plus anciens
Hello everyone
I have a text file and I want to find a specific keyword in this document. The document is similar with that:
A Student Number: 1516A465 Engineering Mathematics 3rd grade
B Student Number: 1818B165 Optimization Class 1st grade
Fall-Semester
Teacher: A A
G Student Number: 121A4161 Physics 1st grade
A Student Number: 4A45645B Statics 2nd grade
B Student Number: 1212A465 Calculus 2nd grade
Spring-Semester
Success level: %48
As you can see there are several properties in this document such as names,class,student numbers and some extra lines. I just need to find all of this student numbers which is shown as "Student Number:". Is there any way to do this automatically?
Thanks in advance.
Hulya.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Characters and Strings 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!