Generating all ordered substrings of a string

Thorsten Kampe thorsten at thorstenkampe.de
Thu Jul 13 03:41:39 EDT 2006


* Thorsten Kampe (2006-07-12 19:11 +0000)
> filter(lambda x: len(x) == 2, part(['abcd']))

That's "filter(lambda x: len(x) == 2, part('abcd'))" of course...



More information about the Python-list mailing list