Hi Julia users,
I was trying to convert an array of char's to string, and I've noticed functions such as string or CharString, but non of these seem to work for my case:
Julia console:
==============
julia> a = ['a', 'b', 'c']
3-element Array{Char,1}:
'a'
'b'
'c'
julia> string(a)
"Char[a,b,c]"
julia> CharString(a)
ERROR: ArgumentError("UTF32String data must be NULL-terminated")
===============
Any idea? I'm using Julia Version 0.4.0-dev+238 (just cloned from github).
Thanks!
-Ning