[Tutor] Splitting on punctuation

Alan Gauld alan.gauld at btinternet.com
Sun Jun 9 07:48:13 CEST 2013


On 09/06/13 00:44, Mike Nickey wrote:

> One of the tasks is to split on punctuation passed yet I'm having a bit
> more trouble then I expected.

You do realize that split() can do that for you?
Its not limited to splitting on whitespace?



-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list