On Sunday, 20 September 2015 at 00:48:39 UTC, Doxin wrote:
On Sunday, 20 September 2015 at 00:28:23 UTC, Doxin wrote:
I'll get to work on some example code.
here you go: http://dpaste.dzfl.pl/e6e715c54c1b
do mind that this code has a couple issues, for example handing
it a word longer than the break width will make it loop
infinitely.
word wrap is a surprisingly hard problem, but I hope I gave you
a good enough starting point.
Thanks Doxin. I going with the Phobos one, though. I've added
your code to my large amount to of small programs.