[Top][All Lists]

[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


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 ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]