I don't know if im reading this wrong
but in the original example, you could just remove the token delimiters:

$remove(he. lo world, $chr(46))

and that will join them....... if thats what you want then just use $remove