Suppose I have a line of text as follows:
I have a nice car
Is there any way to get different words of the line at different positions individually (say, I want to get 'have' and 'nice' parts) without saving the line to any file. I mean, I want to apply such a method which will directly give me words at desired positions of the given line. Is there any way?