title: Delphi - How to break string concatenation into several lines
body: <p>I have a long SQL text that I want to assign to a query SQL. I do this the following way:</p>
  
  <pre><code>SQL.Text:= 'SELECT T1.COLUMN1,T2.COLUMN2,T1COLUMN3..........,'+
            ' T1.COLUMNn FROM TABLE1 T1 INNER JOIN '+
            ' TABLE2 T2 ON T1.ID=T2.ID'+
            ' WHERE T1.COLUMN10=100'
  </code></pre>
  
  <p>The actual SQL is 20 times longer than this. My problem is with the line breaks. When I format the source code (Ctrl+D) it sometimes leaves the lines as I typed, but other times it deletes the line breaks and I get something like this:</p>
  
  <pre><code> 'SELECT T1.COLUMN1,T2.COLUMN2,T1COLUMN3 ' + 'FROM TABLE1 T1 INNER JOIN '+  'TABLE2 T2 ON T1.ID=T2.ID'
  </code></pre>
  
  <p>And this leads to a "line too long (more than 1023 charactes)" error. What's interesting is this does not happen with all lines. I can't catch the difference between the lines which will be affected and those that won't. I need a line break after or before the "+" sign. How do I do this?</p>