Hi, im having a couple of problems with strings. When i
use this code.
Dim Data(numBytes) As Byte
_Socket.Receive(Data)
TempData = System.Text.ASCIIEncoding.ASCII.GetString(Data)
The string it returns is always in this format "String
and i cant understand why it is not in the
format "String" could someone explain what is going on? I should say this is when i am debuging the code and putting my mouse over varible at run time to see their value.
Its a bit annoying because i can compare strings.
Thanks
James
James Proctor
use this code.
Dim Data(numBytes) As Byte
_Socket.Receive(Data)
TempData = System.Text.ASCIIEncoding.ASCII.GetString(Data)
The string it returns is always in this format "String
and i cant understand why it is not in the
format "String" could someone explain what is going on? I should say this is when i am debuging the code and putting my mouse over varible at run time to see their value.
Its a bit annoying because i can compare strings.
Thanks
James
James Proctor