Answers for "php split string into array by new line"

PHP
2

php explode new line

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

Code answers related to "php split string into array by new line"

Browse Popular Code Answers by Language