Optimize the way to delete double quotes