我有一個文本塊,與此內容:如何在PHP中將文本塊拆分爲2個字符串?
[/+]There is my first text[+/]. There is my second text.
[/+]There is my third text.[+/]
There is my fourth text.
...
現在,我想把它分成2個字符串:
$str_1 = "There is my first text.";
$str_2 = " There is my second text.
[/+]There is my third text.[+/]
There is my fourth text. ...";
你能告訴我:「如何在PHP中將文本塊分成2個字符串?」。
至少在你問問題之前嘗試一些東西......新手不是藉口。 – Andrew