In C #, you can use multi-line literals to have a string that spans a physical line break in the source code, for example.
var someHtml = @"<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center" class="txsbody"> <tbody> <tr> <td width="15%" class="ttxb"> </td> <td width="85%" class="ttxb"><b>COMPANY NAME</b></td> </tr> </tbody> </table>";
but how to do it in delphi without using string concatenation, not for performance, but for visual viewing is just as good as in C # instead
Result : = '<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center" class="txsbody">'; Result : Result + '<tbody>';
source share