comma-separated string to array

前端 未结 3 691
温柔的废话
温柔的废话 2020-12-02 01:00

I\'m looking for the simplest way to take a single variable such as:

$variable = \'left,middle,right\';

and write it to an array();

3条回答
提交回复
热议问题