| commit | 306a8a633800f2f37d054fbf48a3e0628faf3073 | [log] [tgz] |
|---|---|---|
| author | Guido van Rossum <guido@python.org> | Thu Aug 08 18:40:59 1996 +0000 |
| committer | Guido van Rossum <guido@python.org> | Thu Aug 08 18:40:59 1996 +0000 |
| tree | 4d7650f6580397e1a6efdb218c76b4348c57a519 | |
| parent | a59d3e6d507fe5dbe2583a23ab8f2cb631ebcafe [diff] |
Add optional third parameter to split() and splitfields(), giving the
maximum number of delimiters to parse; e.g.
splitfields("a,b,c,d", ",", 2) -> ["a", "b", "c,d"].