Erlang:如何将Atom转换为String?

3wabscal  于 2022-12-08  发布在  Erlang
关注(0)|答案(1)|浏览(167)

I want to convert from atom to string.

Input  =  'hello world'.
Output =  "hello world".

How do I achieve this?

ef1yzkbh

ef1yzkbh1#

使用atom_to_list

> atom_to_list('hello world').
"hello world"

相关问题