L
listrecv
Is there a simple way to use Ruby to wrap a long string to a set
interval, on whitespace?
IE - take String x, and break it up on whitespace boundaries, so that
no col is over L chars (bytes in Ruby :-( ) long?
I'm not sure if it would be better to convert spaces to newlines, or to
just add the newline after the space. (Any ideas?)
Also, newlines, tabs, multiple spaces, etc. should be preserved.
interval, on whitespace?
IE - take String x, and break it up on whitespace boundaries, so that
no col is over L chars (bytes in Ruby :-( ) long?
I'm not sure if it would be better to convert spaces to newlines, or to
just add the newline after the space. (Any ideas?)
Also, newlines, tabs, multiple spaces, etc. should be preserved.