From: python on
MRAB,

"MRAB" <python(a)mrabarnett.plus.com> wrote:
> >>> import re
> >>> re.split(r'(\s+)', "Hello world!")
> ['Hello', ' ', 'world!']

That was exactly (EXACTLY!) the solution I was looking for.

Thank you!
Malcolm
 | 
Pages: 1
Prev: PS.
Next: [ANN] Python 2.5.5 Release Candidate 2.