Results 1 to 2 of 2

Thread: convert the string text array to byte array

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Location
    greece athens
    Posts
    115

    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 ??

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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:
    1. Dim str As String, byt() As Byte
    2. str = "test this"
    3. 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
  •  



Click Here to Expand Forum to Full Width