我有一个 CSV 文件,需要一些额外的处理。我已经完成了我们的大部分自定义功能。我目前卡住的是提要的最新添加,一列中有多个类别。这是新字段设置的快速示例。
Category01@Things~Category01@Will~Category01@Be~Category01@Here~Category02@Testing~Category02@More text here~Category02@Any data~Category02@No more data for this category~LastCategory@This~LastCategory@Is~LastCategory@The~LastCategory@End
我需要从每个可用的类别中用 PHP 构建一个数组,类似于;
$category01 = array('Things', 'Will', 'Be', 'Here');
任何帮助将不胜感激。谢谢!