locked
String Conversions RRS feed

  • Question

  • User-443806677 posted

    Hi,

    i need some sample code to convert a string to Octet - in VB

    IE: How would I convert "abcd" to octet

     

    Thanks in advance.............

    Friday, July 11, 2008 7:34 AM

All replies

  • User1827201912 posted

    Dim conOct As Byte() = System.Text.Encoding.ASCII.GetBytes("xyz")

    HTH,
    Suprotim Agarwal

    Friday, July 11, 2008 7:46 AM