Jagadeesh wrote:
> Hi,
> I am looking for something similar to join in perl. I am doing
> [sample perl code]
>
> $CMD = join('  ',  $cmd, $arg1, $arg2, $arg3);
>   

Not 100% sure of what you need, but I think this will do the job for you:
str = [cmd, arg1, arg2, arg3].join(' ')