Reputation: 3214
I want to convert from atom to string.
Input = 'hello world'. Output = "hello world".
How do I achieve this?
Upvotes: 3
Views: 4723
Reputation: 41568
Use atom_to_list:
atom_to_list
> atom_to_list('hello world'). "hello world"
Upvotes: 10