Page 1 of 1

how to apply hyphen to a paragraph

Posted: Sat May 17, 2008 7:11 am
by aneuryzma
how can i apply hyphen/dash to a paragraph ?

I have to display a paragraph on a PHP page to a blackboard in second life.
This blackboard can contain 20 characters per line.
Of course I don't want to display incomplete words. If any word is too long i would prefer to move it on the next line on the dashboard.

how can I do it in php ? I would like to prepare the paragraph layout before to send it to second life.

i hope the question is clear..

thanks!

Re: how to apply hyphen to a paragraph

Posted: Sat May 17, 2008 11:33 am
by nowaydown1