try msgfile from zexy, if you are with pd-extended.
if not this is not easy done. you need to know the amount of lines you have in your textfile. with this amount you "flush" it from the begin till the end with until (think about the untiljoke: never ever start it without a number).
with select´s "your desired phrase" bang you stop the until on its right inlet. and voila, here on the right outlet of select shoul be the rest of the line. if until is too fast to stop try it with a feedbacked delay.
all the best
der.brandt
i'm trying to read an XML file and get certain lines, using [textfile] but i'm stuck as i dont know what message to send it to retrieve the lines i want maybe there's a better object for the job? best p _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list