Why isn't SPLIT splitting my strings
Fredrik Lundh
fredrik at pythonware.com
Sun Nov 19 05:35:26 EST 2006
ronrsr wrote:
> I'm trying to break up the result tuple into keyword phrases. The
> keyword phrases are separated by a ; -- the split function is not
> working the way I believe it should be.
>>> help(str.split)
split(...)
S.split([sep [,maxsplit]]) -> list of strings
Return a list of the words in the string S, using sep as the
delimiter string.
note that it says *delimiter string*, not *list of characters that I
want it to split on*.
</F>
More information about the Python-list
mailing list