$data = 'hello world&cool&stuff&here';
$explode = explode('&', $data); // returns array with hello world, cool, stuff, here
現在這個數據
$data = 'hey this is a beautiful day #content_start#The World is Beautiful#content_end#';
我如何可以提取 「世界是美麗的」,從上面的字符串?
運行explode('#content_start', $data);
然後explode('#content_end', $data);
?或者有更簡單更合適的方式。