[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
split-string case insensitive?
From: |
pwl_b |
Subject: |
split-string case insensitive? |
Date: |
Sun, 10 Aug 2008 07:10:15 -0700 (PDT) |
User-agent: |
G2/1.0 |
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)
=> ("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)
=> ("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ł.
- split-string case insensitive?,
pwl_b <=