Source Code:
(back to article)
<?php $string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla at nulla justo, eget luctus tortor. Maecenas vel est at massa aliquam semper."; $chunked_string = chunk_split($string, 20, "\n"); echo $chunked_string; ?>
Result:
Report an issue