quote
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
year new... old errors :-)
for the problems (2) see the "<-------" arrow
Program Example51;
{ This program demonstrates the
AnsiQuotedStr function }
Uses sysutils;
Var S : AnsiString;
Begin
S:='He said "Hello" and walked on';
S:=AnsiQuotedStr(Pchar(S),'"'); <---
Writeln (S);
Writeln(AnsiExtractQuotedStr(Pchar(S),'"'));
End.
4 AnsiExtractQuotedStr
Declaration
Function AnsiExtractQuotedStr(var
Src: PChar; Quote: Char): string;
Description
AnsiExtractQuotedStr Returns Src as a
string,, with Quute characters <----quute
removed from the beginning and end of
the string, and double Quote
characters replaced by a single Quote
characters. As such, it revereses
the action of AnsiQuotedStr.
Errors
None.
See also
AnsiQuotedStr
Additional information:
Reporter: Salvatore Licciardi
EMail: turylicciardi at tiscalinet dot it
Mantis conversion info:
- Mantis ID: 3775
- OS: All
- Version: 1.0.4
- Fixed in version: 1.0.5