system generates a text file. it contains more than 100 lines. i like to get a line in the file.
some text **
Actions Pending are: Action-1, Action-2,....Action-3 (this is another new line)
some text**
need to get the Actions in pending to array.
i used
for index in text:
rc.logMessage(str(index))
it is printing each character at a time not the line.
help me how can i parse this file to get actions into an array.
Thanks in advance