[erlang-questions] Problems in a list

Prabhuram K <>
Thu Aug 16 12:06:55 CEST 2007


Hello all,
I am a newbie to erlang.
I have a value of this format "\"srs1\",\"srs2\"". If I do a list_to_atom on
this I get '"srs1","srs2"', that is within single quote. So if I store it as
[SrsNameList] it is stored as ['"srs1","srs2"'].  I don't need the single
quote, it should just be ["srs1","srs2"]. How do I do that ?


Thanks in advance,

--Prabhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070816/094e57d5/attachment.html>


More information about the erlang-questions mailing list