in reply to Insert breaklines into string

I agree completely with lhoward that this is something your browser should do if the output is for the web. However, if you're interested in this kind of formatting for other applications as well, take a look at the unix fmt command (which even has a Perl port). It does clever things like find the best way to arrange line breaks so that each line in the paragraph is more or less the same length as the ones around it.

Replies are listed 'Best First'.
Re^2: Insert breaklines into string
by kiat (Vicar) on Sep 12, 2004 at 14:39 UTC
    Thanks, gaal!

    I'll look it up.