How to create an array of hex bytes from a string?

I have to read a string from a textbox and convert it to an array of hex bytes to send it to a COM port. Say for example my string is "88 01 04 07" and I want to create an array Dim buffer() As Byte The buffer should read the string and store {&H88,&H01,&H04,&H07}. How do I print the contents of this buffer to make sure that the conversion is right and how do i convert it from string? Thanks Mukesh

Loader.
Up arrow icon