Parsing a text file in Tcl

Hi all,

I need to parse through a text file searching for a specific string, then after I find this string read in remaining data off the line to a variable.

I've tried various things and can't seem to get any to work.

Any help would be much appreciated.

Can you show examples of the data file and what you have tried so far?
This will greatly speed up the assistance.

I found a solution, Thanks though.

Sorry for wasting a thread