How to remove quotation marks

Samuel Tardieu <>
Mon May 27 09:10:55 CEST 2002


On 27/05, Faustin Ngokse wrote:

| I have an erlang term enclosed in quotation marks and I just want to
| remove the quotation marks.
| Does anyone know an elegant way how to do that?
| 
| example: 
| How to transform 
| List = "[{hello1}, {hello2}]"
| into
| Term = [{hello1}, {hello2}]

The Erlang shell does that, the full source should be available on your system
(look for shell.erl and erl_eval.erl).

  Sam




More information about the erlang-questions mailing list