Well, I have a window, which I want to list through each line and read the first word in each line.
I have used $line(@window,0) to get the line count, which I then use a while loop to loop through each line, I can get it reading the entire line with $line(Window,%lineNumber) but I don't know how to get only the first word from that line

please help!