In Erlang, \" is an escape character that means double quote.
My question is, what is the difference between "\"test\"" and ""test""? The reason I ask is because, I’m trying to handle a list_to_atom error:
> list_to_atom("\"test\"").
'"test"'
> list_to_atom(""test"").
* 1: syntax error before: test
""is a string/list of length 0\"is just an escaped double-quote when used in the context of a string. If you wanted to have a string that consists of just a double-quote (ie\"), then you could do:"\"".""test""is a syntax error and is no difference than"" test ""which is syntactically<list><atom><list>. What are you trying to accomplish?