Lifting terms to string

Niels Christensen christen@REDACTED
Thu Oct 25 22:24:41 CEST 2001


Hi,

say I have a variable X, the values of which
I'd like to convert to a string, e.g. if
X=2 then I'd like to produce "2". Is there a
way to do that in Erlang?

What I really want is a version of io:fwrite that
produces strings instead of writing to IoDevices.

Thanks,
Niels
 




More information about the erlang-questions mailing list