Line-wrap a string

Break a string into multiple lines

4.3K Downloads

Updated Thu, 01 Sep 2016 15:04:47 +0000

View License

The function linewrap.m wraps a single string into multiple lines by breaking it at word boundaries. The user can specify the desired maximum number of characters per line.

Cite As

Steve Eddins (2023). Line-wrap a string (https://www.mathworks.com/matlabcentral/fileexchange/9909-line-wrap-a-string), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0

Update keywords and description to make it easier to find this file via search.