php - How to cut string between two | symbols?
263
FirstString | 2ndString | 3rdString
$1stString = substr($WholeString, 0, strpos($WholeString, '|'));
Now I want to get the 2nd and 3rd string as well, but don't know how.
Thanks.
Answer
Solution:
You can use explode: