From: James Sugrue [mailto:[EMAIL PROTECTED]]
> Yeah, thats what I am doing, but I thought there might be another way!

Another way:

var LString: string;

  SetLength(LString, 31); // chars 10 to 40 inclusive = 31 chars
  Move(ByteArray[10], LString[1], 31); // copy from char 10

Cheers,
Carl
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to