From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pwl_b Newsgroups: gmane.emacs.help Subject: split-string case insensitive? Date: Sun, 10 Aug 2008 07:10:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9c602d05-0792-434e-b5e7-4df05d285dcc@m36g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1218385939 16346 80.91.229.12 (10 Aug 2008 16:32:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 16:32:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 10 18:33:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSDqr-0003PL-Ow for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 18:33:05 +0200 Original-Received: from localhost ([127.0.0.1]:46454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSDpv-00051G-Ov for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 12:32:07 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m36g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 83.14.126.204 Original-X-Trace: posting.google.com 1218377415 15184 127.0.0.1 (10 Aug 2008 14:10:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 10 Aug 2008 14:10:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m36g2000hse.googlegroups.com; posting-host=83.14.126.204; posting-account=kxqIyQoAAABI8nEbl1Lld0iWEqazDoxN User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161058 X-Mailman-Approved-At: Sun, 10 Aug 2008 12:21:24 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56412 Archived-At: Hi! I am trying to split a string in eLisp using split-string, and here is a sample outcome of it: (split-string "Abcade" "A" t) =3D> ("bc" "de") The question is: Why it does not care about case of "A"? And is there a way to split string in case-sensitive manner? The strange thing to me is that split-string does accept regexp as a separator, but it still doesn't care about the cases e.g.: (split-string "A1ba2b" "A." t) =3D> ("b" "b") I would appreciate any help given, and I am sorry if this question has an obvious answer but I couldn't find any on the Web. Regards, Pawe=B3.