Comparing String concatenation
<p>I was wondering what the best way is to concat two strings.
Coming from a C# background I am used to <code>String.Format(...)</code>,<code>StringBuilder</code> and of course <code>+</code>.</p>

<p>In Axapta (4.0) I have now seen:  </p>

<pre><code>str str1, str2, str3;
;

str1 = 'Hello';
str2 = 'world';

str3 = strfmt('%1 %2',str1,str2);
info(str3);

str3 = str1+' '+str2;
info(str3);
</code></pre>

<p>My question would be, what is concidered best practise and why ?
And to make it <strong>not</strong> opinion based: Is there a speed difference ?</p>