string.split
Daniel Dittmar
daniel.dittmar at sap.com
Wed Sep 5 04:22:35 EDT 2001
More information about the Python-list mailing list
Wed Sep 5 04:22:35 EDT 2001
- Previous message (by thread): string.split
- Next message (by thread): string.split
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> set a literal string that is the seperator. How do I split on any or all > occurrences of (for example) whitespace and a comma, without using regexes. > I mean string.split() must be able to do it anyway to achieve the default > behaviour. You'll have to use re.split. Splitting on white space is a separate function inside the Python interpreter which uses the C isspace () macro and not an array of characters. Daniel
- Previous message (by thread): string.split
- Next message (by thread): string.split
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list