Hi,
does somebody know of any easy idea to store a formatted paragraph in the string value.. I mean like how we have a HERE document in unix (or perl)..
some Delphi way to do this:
So that "q" contains all the newlines and the tabs and preferrably interpolates the string "s" too? Right now i'm doing it the hard way of adding each line with #13#9 etc..
Any help will be appreciated, ---
cheers!
san
does somebody know of any easy idea to store a formatted paragraph in the string value.. I mean like how we have a HERE document in unix (or perl)..
some Delphi way to do this:
Code:
var
q: string;
s: string;
begin
s := 'some text';
q := '
This is line 1
This is line 2 with text "s"
';
end;
So that "q" contains all the newlines and the tabs and preferrably interpolates the string "s" too? Right now i'm doing it the hard way of adding each line with #13#9 etc..
Any help will be appreciated, ---
cheers!
san