how can I delete the CR/LF pair:(#$D#$A)
Removing characters form the end of a string is very easy: just shorten the string.
Assert(Length(s) >= 2); Assert(s[Length(s) - 1] = #$D); Assert(s[Length(s)] = #$A); SetLength(s, Length(s) - 2);
-- Rob
_______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

