how to convert a string {&HF3,&HA1} to a byte array like {&HF3,&HA1} ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asirappadu
    New Member
    • Dec 2010
    • 2

    #1

    how to convert a string {&HF3,&HA1} to a byte array like {&HF3,&HA1} ?

    I have string in {&HF3,&HA1,&H01 }

    i want to convert it to byte array like {&HF3,&HA1,&H01 }
    Last edited by Niheel; Dec 23 '10, 05:53 AM.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Get rid of the brackets, split() the string into an array, and then convert the strings into integers with CInt().

    Comment

    Working...