69
71
function ConvertToCString(const AText: String): String;
70
72
function ConvertPathDelims(const AFileName: String): String;
71
73
function DeleteEscapeChars(const AValue: String; const AEscapeChar: Char = '\'): String;
72
75
function UnEscapeBackslashed(const AValue: String; AFlags: TGdbUnEscapeFlags = [uefOctal]; ATabWidth: Integer = 0): String;
73
76
function UnQuote(const AValue: String): String;
74
77
function Quote(const AValue: String; AForce: Boolean=False): String;
75
78
function ConvertGdbPathAndFile(const AValue: String): String; // fix path, delim, unescape, and to utf8
76
79
function ParseGDBString(const AValue: String): String; // remove quotes(') and convert #dd chars: #9'ab'#9'x'
78
82
procedure SmartWriteln(const s: string);