[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rationale for split-string?
From: |
Richard Stallman |
Subject: |
Re: Rationale for split-string? |
Date: |
Sat, 19 Apr 2003 09:35:44 -0400 |
(defun split-string-sanely-too (string &optional separators)
(let ((result (xemacs-split-string string separators)))
(cond ((stringp separators) result)
((eq separators 'omit-nulls) (delete "" result))
(t (error 'invalid-argument
"SEPARATORS must be a string or 'omit-nulls"
separators)))))
This seems like a good approach, but I would rather use t instead
of `omit-nulls'.
- Rationale for split-string?, Stephen J. Turnbull, 2003/04/17
- Re: Rationale for split-string?, Stefan Reichör, 2003/04/17
- Re: Rationale for split-string?, Stefan Monnier, 2003/04/17
- Re: Rationale for split-string?, Richard Stallman, 2003/04/19
- Re: Rationale for split-string?, Stephen J. Turnbull, 2003/04/19
- Re: Rationale for split-string?, Richard Stallman, 2003/04/20
- Re: Rationale for split-string?, Luc Teirlinck, 2003/04/20
- Re: Rationale for split-string?, Stephen J. Turnbull, 2003/04/21
- Re: Rationale for split-string?, Luc Teirlinck, 2003/04/21
- Re: Rationale for split-string?, Miles Bader, 2003/04/21
- Re: Rationale for split-string?, Luc Teirlinck, 2003/04/21
- Re: Rationale for split-string?, Jerry James, 2003/04/22
- Re: Rationale for split-string?, Eli Zaretskii, 2003/04/22