我知道,应该不惜一切代价避免使用Erlang字符串......
但如果我不这样做,我如何从5产生"5"?
特别是,有什么像io:format("〜p",[5])会返回格式化的字符串而不是打印到流?
string erlang
erlang ×1
string ×1