 |
PHP: array - Manual - PHP: Hypertext Preprocessor
foreach(array_str($str, 4) as $chunk) { echo "".$chunk."\n";} echo ""; this prints:-----abcd-----efgh-----ilmn-----It don't use regular expressions. Please add this function to php :) up ...
nl3.php.net |
 |