|
-
Sep 12th, 2007, 09:48 AM
#1
Thread Starter
Lively Member
convert the string text array to byte array
well i need to convert a string text array into byte array "utf-8"
is there any function to do that ??
-
Sep 13th, 2007, 04:14 AM
#2
Re: convert the string text array to byte array
you can convert a string to a byte array, but i am not sure what you mean by a string text array, is that an array or a string or an array of strings
vb Code:
Dim str As String, byt() As Byte
str = "test this"
byt = str
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|