How do I convert?
Dim httpSend() As Byte = System.Text.ASCIIEncoding.ASCII.GetBytes("GET http://www.a.com/tos.txt" & vbCrLf)
I need httpSend() into 1 String
Printable View
How do I convert?
Dim httpSend() As Byte = System.Text.ASCIIEncoding.ASCII.GetBytes("GET http://www.a.com/tos.txt" & vbCrLf)
I need httpSend() into 1 String
Quote:
Originally posted by Daok
How do I convert?
Dim httpSend() As Byte = System.Text.ASCIIEncoding.ASCII.GetBytes("GET http://www.a.com/tos.txt" & vbCrLf)
I need httpSend() into 1 String
How do I download a text if byte() to string is not possible?
Hi.
Do you mean, how to convert it back to a string?
If so, try this:
VB Code:
Dim S As String = System.Text.ASCIIEncoding.ASCII.GetString(httpSend)
Check out the Convert namespace