Reformats a string where lines that are longer than width
are split apart at the earliest wordbreak or at maxLength, whichever is
sooner. If the width specified is less than 5 or greater than the input
Strings length the string will be returned as is.
Please note that this method can be lossy - trailing spaces on wrapped
lines may be trimmed.