[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to parse a string?
From: |
Francois Fleuret |
Subject: |
Re: How to parse a string? |
Date: |
01 May 2003 11:56:04 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Hi,
Greg Hill wrote on 01 May 2003 02:54:20 MET:
> (let ((instring "10 20 wordA wordB wordC"))
> (setq instring (split-string instring))
> (append (list (string-to-number (pop instring))
> (string-to-number (pop instring)))
> instring))
Thanks a lot!
But is there a generic way to do such a thing ? No scanf equivalent
around ?
FF
- Re: How to parse a string?,
Francois Fleuret <=