join string using primitives functions.