ex78.pp 227 B

1234567891011121314
  1. Program Example78;
  2. { This program demonstrates the QuotedStr function }
  3. Uses sysutils;
  4. Var S : AnsiString;
  5. Begin
  6. S:='He said ''Hello'' and walked on';
  7. Writeln (S);
  8. Writeln (' becomes');
  9. Writeln (QuotedStr(S));
  10. End.