Getting StringIndexOutOfBoundsException while using textWrap code

Printable View