> Some possibilities are: > > * a string method > * a UserString method This should *definitely* not be a method. Too specialized, too many possibilities for tweaking the algorithm. > * a new module text, with a function wrap() > * add function wrap() to UserString > > Should it work on unicode strings too? Yes. --Guido van Rossum (home page: http://www.python.org/~guido/)