ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates

ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

ASP.NET version of "Word Wrap"

Carriage returns and line feeds don't count for much in HTML documents, but there are times when they're useful. This sample shows how to take a string and word wrap it to a certain length. This should be extremely helpful for email message bodies or when formatting with the <pre> tag.

Here's a zip file of the code (2.2 KB).

Play with the running version.

View the live source code.

Back to the "Word Wrap" sample


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers