Hi! Does anyone know how to translate a string variable of type
julia_string‘=’hello’
into a C-like string equivalent to
c ‘Hello’
which StaticCompilator accepts and does not swear at incorrect characters…
Thanks in advance. Tried a bunch of variants, but everything doesn’t work
In Julia single quotes are used to denote characters ('a'
). To create a string use double quotes ("abcde"
).
2 Likes