Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
I'm sorry, I completely misread it! Here's how you do you group string with a pipe delimiter:
out1.GroupStringField = group.joinStrings(in1.FieldName,False,'|','')