Hi,
Those backslashes within the string would not be written out to anything as they are escape characters. However if you just return the string as you have posted here, (or set the string to a variable):
set a to "\"0045ND\",\"Cara Lippett\",\"Cara Lippett_0045ND\",\"vxxxitt@aol.com\",\"\"" as list
The results window will display:
{“"0045ND","Cara Lippett","Cara Lippett_0045ND","vxxxitt@aol.com",""”}
The results window shows the escape characters too!
But if you tell Applescript to display this variable with:
set a to "\"0045ND\",\"Cara Lippett\",\"Cara Lippett_0045ND\",\"vxxxitt@aol.com\",\"\"" as list
display dialog a
Or even write the variable to a text file with
set a to "\"0045ND\",\"Cara Lippett\",\"Cara Lippett_0045ND\",\"vxxxitt@aol.com\",\"\"" as list
do shell script "echo " & a & " >~/Desktop/test.txt"
You will see that those escape characters are not there!!
I’m not sure if this is what you are experiencing, or are you reading the original string from an external file??
EDIT:
I see Adam has posted a solution just before me, but this is worth bearing in mind! (I think!?)