StringWrap

Line-wrap a string at a specific width

ResourceFunction["StringWrap"][string,n]

line-wraps string at width n.

Examples

Basic Examples

Line-wrap a Wikipedia article at 40 characters:

In[1]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/Function/\
StringWrap"][WikipediaData["Ontario Morning"], 40]
Out[1]=

Publisher Information