[Lazarus] Tool to convert a multiline text to a pascal string constant

Luiz Americo Pereira Camara luizamericop at gmail.com
Tue Feb 2 22:33:56 CET 2016


Hi is there any tool for Lazarus to convert a multi line text (xml snipet,
SQL) to a string constant?

Currently i'm using the following regular expression

http://regexr.com/3cna5

If some one knows a better regular expression that handles putting ';'
instead of '+ LineEnding +' in last line would help also

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160202/5202868d/attachment-0002.html>


More information about the Lazarus mailing list