[Python-ideas] Optional keepsep argument in str.split()

Rob Cliffe rob.cliffe at btinternet.com
Thu Aug 29 12:20:43 CEST 2013


On 28/08/2013 20:40, Marco Buttu wrote:

> It should be attached to the previous part, exactly as my example
>
If there is a leading separator in your original string, you will have 
to decide whether to keep it prefixed to the first element of your split 
list.
Rob Cliffe


More information about the Python-ideas mailing list