Prev: PS.
Next: [ANN] Python 2.5.5 Release Candidate 2.
From: python on 24 Jan 2010 12:36 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. |