I’m trying to debug a script that works with comma-delimited text files. I’ve got a replacement string that removes a comma in the wrong place and I’m trying to locate it. So I do a find for:
,"
in the script. It only finds the second ," in most of these lines.
It seems to depend on the indentation of the previous line?
What’s going on here?
Pasting the same text in Text Wranger or Script Editor, the find works for every instance.
replaceMyText(",(S),", ",,")
replaceMyText(" - SP,", ",")
replaceMyText(" SP,", ",")
replaceMyText("- SP,", ",")
replaceMyText("-SP (", " (")
replaceMyText(" SP ", " ")
replaceMyText(",(S),", ",,")
replaceMyText(" - SP,", ",")
replaceMyText(" SP,", ",")
replaceMyText("- SP,", ",")
replaceMyText("-SP (", " (")
replaceMyText(" SP ", " ")
replaceMyText(",(S),", ",,")
replaceMyText(" - SP,", ",")
replaceMyText(" SP,", ",")
replaceMyText("- SP,", ",")
replaceMyText("-SP (", " (")
replaceMyText(" SP ", " ")