I have this :
set aa to "something,,else,hello"
set myList to {}
repeat with i from 1 to 1000000
try
set p to paragraph i of aa
set text item delimiters to ","
set temp to "\"" & text item 4 of p & "\" " & "\"" & text item 1 of p & "\" " & "\"\" " & "\"" & text item 3 of p & "\" " & "\"\" " & "\"pw\""
set text item delimiters to ""
set i to i + 1
set end of myList to temp
log temp
on error
exit repeat
end try
end repeat
set text item delimiters to return
set listMy to myList as text
return listMy
If run it gives me this :
"something" "else" "" "hello" "" "pw"
I want it to give me this :
“something” “else” “” “hello” “” “pw”
How would I achieve this ?