Anas Mughal wrote:

> I have been using the below function successfully. Hope it works for you.
> -- Anas
>
>
>
> // textwrap 1.1 Brian Moon <[EMAIL PROTECTED]>
> // This code is part of the Phorum project <http://phorum.org>
> // $String     The string to be wrapped.
> // $breaksAt   How many characters each line should be.
> // $breakStr   What character should be used to cause a break.
> // $padStr     Allows for the wrapped lines to be padded at the begining.

Short of string padStr in that function, and bool cut in the native PHP
one, I don't see why someone wouldn't just use http://php.net/wordwrap/ .

Travis Doherty

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to