Erlang term to string

R = io_lib:format("~p",[yourtermhere]),
lists:flatten(R).

 

posted on 2013-02-14 17:29  盐味  阅读(205)  评论(0)    收藏  举报