Binary to ASCII
Fri Dec 20 14:05:24 CET 2002
12> List = "abcd".
13> Bin = list_to_binary(List).
From: Inswitch Solutions - Erlang Evaluation [mailto:]
Sent: 21 December 2002 08:49
Subject: Binary to ASCII
I'd like to convert a set of bytes to ASCII characters (string).
Please, could someone tell me how to do this in Erlang ?
NOTICE AND DISCLAIMER:
This email (including attachments) is confidential. If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents. We cannot accept liability for any breaches of
confidence arising through use of email. Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions. We will not accept responsibility for any commitments
made by our employees outside the scope of our business. We do not warrant
the accuracy or completeness of such information.
More information about the erlang-questions