[erlang-questions] How to Convert a Mixed Term to String

Jeff Crane <>
Sat Nov 4 09:50:15 CET 2006


When testing my app by reading a file, I could easily
pull a string like:
"{String1,{atom2,{3,4}},5,6}"

But when I pull from an erlang MySQL implementation, I
end up with:
{"String1",{atom2,{3,4}},5,6}
and I cannot figure out how to convert it to:
"{String1,{atom2,{3,4}},5,6}"
since transforms seem to always remove the curly
braces.

Can anyone describe how they would go about this?

It's really frustrating to be stuck on a formatting issue.


 
__________________________________________________________________________________________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. 
(http://advision.webevents.yahoo.com/mailbeta) 




More information about the erlang-questions mailing list