If you want to put == between each word, use:

echo -a $replace($2-,$chr(32),$+($chr(32),==,$chr(32)))