List processing in MAX/MSP
Hello, at the MAX/MSP console I am taking a stream of data like the ones in the image. I would like to use only three of them though. I tried to separate them with the unpack and pack objects but it didn't work. Any other solutions maybe?
Thank you.

thresh->unpack->pack
should work, but
thresh->zl.slice 3
will be one object less - and does not have the problem that input of mixed types will loose its type. (if types are unknown, you´d have to use unpack z z z)
you must, however, take care that the incoming data can be recognized as list. if two (logical) lists are coming as successive messages (1, 2, 3, a, b,c) thresh will not know where the beginnings and ends are.
Thanks for your response. Yes, I think it is the second case.
Maybe I need to create an mxj parser to check the data that I want to receive?
if the incoming data is at least always of the same form, this should easily be solved based on [counter] or [zl group]
I think I need to use a regexp object first to take " " off, as thresh, spray and the rest objects with similar functionality do not recognise them.