$variable = 'for linebreak add 2 spaces at end';
Value of this variable everytime changes.
How to add some text or html before and after this string?
E.g. if we want to add '<div>' before and '</div>' after, string should look like:
$variable = '<div>for linebreak add 2 spaces at end</div>';
Marko’s solution is the way to go for simple cases. If you need to concatenate many strings, it is said that joining arrays is much faster.