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

Dmitry Boyarintsev skalogryz.lists at gmail.com
Tue Feb 2 22:40:10 CET 2016


On Tue, Feb 2, 2016 at 4:33 PM, Luiz Americo Pereira Camara <
luizamericop at gmail.com> wrote:

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

Shouldn't there be something already in Lazarus itself that you could use?
Back at the time when all resources were pascal string constants?


>
> Currently i'm using the following regular expression
>
> http://regexr.com/3cna5
>

I think it doesn't replace single-quote character (') by doubled
single-quote character ( '' )

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160202/589b3f76/attachment-0003.html>


More information about the Lazarus mailing list