how to apply hyphen to a paragraph

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

how to apply hyphen to a paragraph

Post 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!
nowaydown1
Forum Contributor
Posts: 169
Joined: Sun Apr 27, 2008 1:22 am

Re: how to apply hyphen to a paragraph

Post by nowaydown1 »

Post Reply