Answers for "how to split string as new line in php"

PHP
5

php explode new line

$values = preg_split('/rn|r|n/', $myString);
Posted by: Guest on February-06-2021
5

php split string

explode(" ","Geeks for Geeks")
Posted by: Guest on April-02-2020

Code answers related to "how to split string as new line in php"

Browse Popular Code Answers by Language