#$D#$A (#13#10) is a carriage return + linefeed, which is what appears 
at the end of a line in a text file.  I can't help you with the removal 
of this but it will look fine in a TEdit since a single line TEdit 
ignores multiple lines.  You may need to ignore the last 2 characters of 
what is returned.

Regards,
Ross.

----- Original Message ----- 
From: "Omar Bennani" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Friday, May 13, 2005 5:06 PM
Subject: java type


hi I send data from a java application to a dlphi one
using sockets, but when I send a string for example
'3'
delphi read it '3'#$D#$A and when i print it on a
TEdit it show me only 3 but i can't use it
what is the problem?


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to