need help of RE
Elliot Temple
curi at curi.us
Sun May 29 04:05:48 EDT 2005
On May 29, 2005, at 12:57 AM, cheng wrote:
> im sorry, my engilsh is not vell well,
>
> the string not only contain '&' and '|' and it can be anyting
>
> i just want to split out the "whole word" inside the string
If the string could be anything, how do you know where the words are?
If it's whitespace that separates words, try out str.split()
-- Elliot Temple
http://www.curi.us/
---
[This E-mail scanned for viruses by Declude Virus]
More information about the Python-list
mailing list