emacs-devel
[Top][All Lists]
Advanced

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

Re: split-string description in the ELR


From: Jean-Christophe Helary
Subject: Re: split-string description in the ELR
Date: Tue, 2 May 2017 07:46:50 +0900

> On May 2, 2017, at 1:20, Drew Adams <address@hidden> wrote:
> 
>> Without Eli's comment I would never have thought of using split-string to
>> trim a string. But even reading the reference did not make it's use super
>> clear. In the description "trim" is just an option to trim the substrings
>> resulting from splitting the string and it is not obvious that it can be
>> used on it's own to trim a given string.
>> 
>> Could a small modification of the reference be in order to emphasize that
>> use (with an example eventually) ?
> 
> Good idea.

Well, I'll try to propose something that puts a bit more emphasis on the "trim" 
part.

> Additionally, or instead, we could create a function
> that is an alias and that has "trim" in the name.

And I definitely leave that to you :)

Jean-Christophe 


reply via email to

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