emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?


From: Bastien
Subject: Re: Why (substring "abc" 0 4) does not return "abc" instead of an error?
Date: Tue, 17 Jul 2012 00:48:04 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> I really disagree. 

Would `string-head' suits your needs?

I find out that most of the use-cases I have for my slackfull 
error-free substring version, is when the first index is 0.

So this is the same than `string-head', really.

`string-head' is also what Lars would need in the example he
gave.

-- 
 Bastien



reply via email to

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