i want to replace the text: ,"dummy" with null.
this is my code: stemp = replace(stemp, ",""dummy""", "")
it does not work. what is the correct code to deal with both the comma and the double quote? tia.
thanks for the quick response. i have commas and double quotes in the file that should not be replaced. i need to replace the comma and quotes that are in this format: comma-double quote-text-double quote with null.
i am updating a csv file exported from a union query. i found a workaround for this.
1st replace: (sTemp, """DUMMY""", "DUMMY") --replace with just the word DUMMY with no quotes.
2nd replace: (sTemp, ",DUMMY", "")
^You are correct.
Replace([stemp],",""dummy""","") actually works. I used it again and it worked. There must have been a line in my code that did not make it work previously.