mardi 31 mars 2015

Replace the " character with a space

I have a CSV file, where each comma delimited field is enclosed in " - eg. "fred", "bert", "blah". I am trying to use the replace function but can't seem to have it recognize the " character. example, if the record is in a string called buffer:



buffer.replace('\"','')

Aucun commentaire:

Enregistrer un commentaire