If there was a list in which there were 2 words in each line. I need to print only the frist word.
In some cases, there is one or more spaces in front of the first word. What method would I have to use if I wanted to skip the space in front of the word and take only the first word?
Please advise.