wrapping routine. PR: 23964 Submitted by: Anton Berezin <tobez@tobez.org>
Simple word wrapping routine