Mettre char en java string pour chaque N caractères

J'ai un java chaîne, qui a une longueur variable.

J'ai besoin de mettre la pièce "<br>" dans la chaîne, de dire chaque 10 caractères.

Par exemple c'est ma chaîne:

`this is my string which I need to modify...I love stackoverlow:)`

Comment puis-je obtenir cette chaîne?:

`this is my<br> string wh<br>ich I nee<br>d to modif<br>y...I love<br> stackover<br>flow:)`

Grâce

InformationsquelleAutor Giancarlo | 2009-02-11