Paulo wrote:
Please, help me:
In following Lazarus code (Lazarus 0.9.15 - Mandriva2006):
var a, b, c, d: string;
begin
a := 'who';
b := 'quote';
c := 'this';
d := a + ' ' + b + ' ' + c;
Result: d = 'who quote this'
Thats right.
... continue ...
b := quotedstr( b );
d := a + ' ' + b + ' ' + c;
Result: d = 'who ''quote'' this'
How did you check ? Since
WriteLN('Who ''quote'' this');
will write:
Who 'quote' thi
Marc
I'm expected result
' who 'quote' this'
such as result obtained in Delphi or Kylix.
Please, who solve it?
Thank's
Paulo Nievierowski
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives