Try:
$var( $+(%onjoin,$chr(44),*) )

$chr(44) is the comma