<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-02 18:40 GMT-03:00 Dmitry Boyarintsev <span dir="ltr"><<a href="mailto:skalogryz.lists@gmail.com" target="_blank">skalogryz.lists@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Feb 2, 2016 at 4:33 PM, Luiz Americo Pereira Camara <span dir="ltr"><<a href="mailto:luizamericop@gmail.com" target="_blank">luizamericop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi is there any tool for Lazarus to convert a multi line text (xml snipet, SQL) to a string constant?<br></div></blockquote></span><div><br>Shouldn't there be something already in Lazarus itself that you could use?<br></div></div></div></div></blockquote><div><br></div><div>I dont know. That's why i'm asking<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Back at the time when all resources were pascal string constants?<br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br>Currently i'm using the following regular expression<br><br><a href="http://regexr.com/3cna5" target="_blank">http://regexr.com/3cna5</a><br></div></div></blockquote></span></div><br></div><div class="gmail_extra">I think it doesn't replace single-quote character (') by doubled single-quote character ( '' )<br><br></div></div></blockquote><br></div>It's pretty simple if someone can improve it, it would help <br><br></div><div class="gmail_extra">Luiz<br></div><div class="gmail_extra"><br></div></div>