In a malformed .csv file, there is a row of data with extra double quotes, e.g. the last line:
Name,Comment \"Peter\",\"Nice singer\" \"Paul\",\"Love \"folk\" so
$str = '"folk"'; $new = str_replace('"', '', $str); /* now $new is only folk, without " */