From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Re: a function for string splitting Date: Tue, 26 Nov 2002 12:14:49 -0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: main.gmane.org 1038342227 22693 80.91.224.249 (26 Nov 2002 20:23:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2002 20:23:47 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Gm7E-0005KC-00 for ; Tue, 26 Nov 2002 21:15:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Gm8X-0006Cj-00; Tue, 26 Nov 2002 15:16:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Gm6z-0004b4-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 15:15:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Gm6u-0004ag-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 15:15:12 -0500 Original-Received: from renfield.synergymicro.com ([153.105.4.30] helo=synergymicro.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Gm6u-0004aZ-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 15:15:08 -0500 Original-Received: from synergy.synergy.encinitas.ca.us ([153.105.4.29]) by synergymicro.com (8.9.3/8.9.3) with ESMTP id MAA30419; Tue, 26 Nov 2002 12:17:02 -0800 Original-Received: from [198.17.100.22] (G-Hill-Mac [198.17.100.22]) by synergy.synergy.encinitas.ca.us (8.9.3/8.8.7) with ESMTP id MAA31813; Tue, 26 Nov 2002 12:15:31 -0800 Original-To: "Luis O. Silva" , help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4066 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4066 Luis, Oops, too many "(". Make that: (let* (split-date (split-string "Thu, 21 Nov 2002 16:05:50 -0600 (CST)" " ")) (day-of-week (elt split-date 0)) (day-of-month (elt split-date 1)) (month (elt split-date 2)) ...) --Greg