Afternoon all, I am trying to search for all occurrences of double quotation marks that may be entered by a user and replace them with single quotations. The point of this is when I export and import my data as a csv file the data is corrupt on import as the use of double quotes are mistaken for data separators. To do this I naively tried to use strtran() which I believe is not possible when trying to find and replace double or single quotes. Heres the code I tried to use, any ideas??
for a = 1 to array_size
if vartype( test_array( a)) == "C"
private find_replace
find_replace = test_array( a)
strtran(find_replace, '"', ''')
test_array( a) = find_replace
endif
next a
for a = 1 to array_size
if vartype( test_array( a)) == "C"
private find_replace
find_replace = test_array( a)
strtran(find_replace, '"', ''')
test_array( a) = find_replace
endif
next a