I usually use 1, or maybe 2 if there is other 'stuff' I'm putting in $string other than just $var1/2/3. Personal preference I guess.
Are you concerned with speed / overhead of one operation versus another? I'm guessing that micro-optimization won't make much difference - although I haven't benchmarked, so don't know for sure.
In reply to Re: String concatenation
by VinsWorldcom
in thread String concatenation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |