Answers for "split string by new line in php"

PHP
5

php explode new line

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

Code answers related to "split string by new line in php"

Browse Popular Code Answers by Language