Hi, I'm looking for something like:

multi_split( 'a:=b+c' , [':=','+'] )

returning:
['a', ':=', 'b', '+', 'c']

whats the python way to achieve this, preferably without regexp?

Thanks.

Martin

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to