Return to Snippet

Revision: 10123
at December 9, 2008 05:11 by ginoplusio


Initial Code
$text = "A very long woooooooooooord.";
$newtext = wordwrap($text, 8, "\n", true);

echo "$newtext\n";

Initial URL
http://www.barattalo.it/

Initial Description
it already exists in php

Initial Title
php word wrap function

Initial Tags
function

Initial Language
PHP