Concatenate strings in a Pbind?

How could I contatenate strings in a Pbind? Which is not a very clear question, what I mean is something like this:

z = Pbind(\test1, "ab", \test2, "cd", \result, Pkey(\test1) ++ Pkey(\test2) ).trace.play
-> ( 'result': ab, 'test1': ab, 'test2': cd )

What I’d be looking for would be 'result': abcd.

PFunc should work, something like:
\res, PFunc({|ev| ev[\str1] ++ ev[\str2] })

Ah, great, thanks! I had fiddled with Pfunc but not quite got all the way there :slight_smile: