Line-wrap a string

Break a string into multiple lines

您现在正在关注此提交

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.

引用格式

Steve Eddins (2026). Line-wrap a string (https://ww2.mathworks.cn/matlabcentral/fileexchange/9909-line-wrap-a-string), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.1

Updated license

1.0.0.0

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