string.join(strlist, "|")

All the above does is call arg2.join(arg1), though.