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

Martin Schreiber mse00000 at gmail.com
Wed Feb 3 07:16:06 CET 2016


On Tuesday 02 February 2016 22:33:56 Luiz Americo Pereira Camara wrote:
> Hi is there any tool for Lazarus to convert a multi line text (xml snipet,
> SQL) to a string constant?
>
In MSEide select the text in source editor, RightClick-'Convert to Pascal 
string'. Code is here:
https://gitlab.com/mseide-msegui/mseide-msegui/raw/master/lib/common/kernel/mseformatstr.pas
Function "stringtopascalstring()".

Martin




More information about the Lazarus mailing list