Kyle Kirby
December 12, 2012
Today I challenged myself to come up with two vastly different
approaches to a problem. The problem being that I needed to conform
a string of text to lines of a certian length without breaking words.
My first approach was to use arrays and a bunch of logic. The second
method was to use regular expressions. I think the regular expression
approach is much more delightful. See below.
Interesting stuff.