Also:
convert(Vector{UInt8},"hello Julia")
On Sat, Feb 6, 2016 at 6:43 PM, Fengyang Wang <[email protected]>
wrote:
> collect(UInt8, "hello world")
>
> should do the trick.
>
>
> On Saturday, February 6, 2016 at 8:31:19 PM UTC-5, [email protected]
> wrote:
>>
>> Hello,
>>
>> I m trying to convert ASCIIString (or ASCII) to Uint8 .
>>
>> b"string" seems to be the option. However it doesnt seem to handle
>> b"$(variable)"
>>
>> Also, reinterpret and convert dont seem to do the job.
>>
>> Any easy way to do this conversion? Any ideas?
>>
>> Thanks
>>
>