text wrap

Joel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 19 17:38:21 PDT 2015


On Sunday, 20 September 2015 at 00:22:17 UTC, Joel wrote:
> What is simple way to wrap a string into strings?
>
> Eg from:
> I went for a walk and fell down a hole.
>
> To (6 max width):
> I went
> for a
> walk
> and
> fell
> down a
> hole.

Actually, I did a search and found this. import std.string.wrap;



More information about the Digitalmars-d-learn mailing list