vendredi 28 novembre 2014

Read lines from txt that share a common element?


Vote count:

0




If I had a file called 'names.txt' that contained the following:



Adam Jones
Mary Smith
Matt Good
Huey Lee
Matt Armstrong


How do I only print the lines with 'Matt'?



asked 9 secs ago







Read lines from txt that share a common element?

Aucun commentaire:

Enregistrer un commentaire