问题
I want to convert from atom to string.
Input = 'hello world'.
Output = "hello world".
How do I achieve this?
回答1:
Use atom_to_list:
> atom_to_list('hello world').
"hello world"
来源:https://stackoverflow.com/questions/53865898/erlang-how-to-convert-atom-to-string