A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2010-March/571877.html below:

How to find the best solution ?

How to find the best solution ? How to find the best solution ?Johny python at hope.cz
Tue Mar 23 06:48:38 EDT 2010
I have a text and would like  to split the text into smaller parts,
say into 100 characters each. But if  the 100th character is not a
blank ( but word) this must be less than 100 character.That means the
word itself can not be split.
These smaller parts must contains only whole( not split) words.
I was thinking  about  RegEx but do not know how to find the correct
Regular Expression.
Can anyone help?
Thanks
L.

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4