公告
财富商城
积分规则
提问
发文
2019-07-23 13:58发布
欢心
I have erlang list symbols: [104, 105, 106, 107 ...] How can i got string from this list:
[104, 105, 106, 107 ...]
"hijk..."?
"hijk..."
Thank you.
Strings as a datatype do not exist in Erlang. Stings are simply lists of characters.
[104, 105, 106, 107] and "hijk" are perfectly equivalent.
[104, 105, 106, 107]
"hijk"
In fact, if you type the original list in the shell you get back the "string":
1> [104, 105, 106, 107]. "hijk"
最多设置5个标签!
Strings as a datatype do not exist in Erlang. Stings are simply lists of characters.
[104, 105, 106, 107]
and"hijk"
are perfectly equivalent.In fact, if you type the original list in the shell you get back the "string":