Word Wrap Sample Code

This sample code shows how to take a string and word wrap it to a certain length. This can be helpful for email message bodies or when formatting with the pre tag.

 

Share this Listing