[Patches] [ python-Patches-421214 ] splitlist() for raw and unicode strings

noreply@sourceforge.net noreply@sourceforge.net
Thu, 03 May 2001 18:29:43 -0700


Patches item #421214, was updated on 2001-05-03 18:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=421214&group_id=5470

Category: core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
Assigned to: Nobody/Anonymous (nobody)
Summary: splitlist() for raw and unicode strings

Initial Comment:
This patch implements a feature that I wanted for a
long time in
python. It implements the splitlist() method for normal
and unicode strings.

This allows one to do something like:

"one, two and three".splitlist([",", "and"])

and get:

["one", " two ", "three"]


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=421214&group_id=5470