【发布时间】:2023-03-06 20:19:01
【问题描述】:
"[' Food Protected from Contamination', ' Foods are adequately protected from contamination during handling and storage.', 'NA', ' Food Handler Hygiene', ' Food handler hygiene and hand washing is properly followed.', 'NA', 'Temperature & Food Storage', ' Foods are cooked, cooled and stored at proper temperatures.', 'NA', ' Garbage & Waste Handling', ' Garbage and/or waste is properly stored and removed.', 'NA', ' Pest Control', ' Pest control practices are properly maintained.', 'NA', ' Equipment & Utensil Sanitation & Storage', ' Equipment and utensils are properly cleaned, sanitized and maintained.', 'NA', ' Premise Maintenance & Sanitation', ' Food premise is properly maintained in a clean and sanitary condition.', 'NA']"
我如何修改它以使输出成为
[Food Protected from Contamination Foods are adequately protected from contamination during handling and storage. NA Food Handler Hygiene etc....]
总之,我想删除撇号
【问题讨论】:
-
@Pranav Hosangadi 这是一个字符串格式,我怎样才能删除它以便我只有一个列表?
-
stackoverflow.com/q/1894269/843953 在 Stack Overflow 上提问之前,请使用一个好的搜索引擎做一些研究。 How much research effort is expected of Stack Overflow users?