Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $string = "This is the character¶ causing me all this grief; ¶I need the strings separated";
  2. $array = explode("¶", $string);
  3.  
  4. var_dump($array);
  5.  
  6. array(3) {
  7. [0]=>
  8. string(21) "This is the character"
  9. [1]=>
  10. string(28) " causing me all this grief; "
  11. [2]=>
  12. string(28) "I need the strings separated"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement