Question:
I am trying to get the first word in a line (e.g. apple, book, chair). I have a long list of French words and their meanings in English:My code(currently):
Answer:
You can usesplit
:If you have better answer, please add a comment about this, thank you!