help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Tools for those working heavily with strings


From: Jean Louis
Subject: Re: Tools for those working heavily with strings
Date: Sun, 24 Jul 2022 23:00:46 +0300
User-agent: Mutt/+ () (2022-06-11)

* carlmarcos--- via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2022-07-24 14:13]:
> I'd appreciate if emacs could provide a minimum set of functions to 
> manipulate list,
> as string manipulations are of good use.

It is there.

Do following: {M-x shortdoc-display-group RET list RET} for lists or
{M-x shortdoc-display-group RET string RET} for strings.

The above information within curly brackets are Hyperbole links, you
can activate them with packag Hyperbole by using M-RET

I can see that s.el has functions like `s-trim-left' and such
functions are in Emacs as `string-trim' and `string-trim-left' and so
on.

Function `s-collapse-whitespace' from s.el is in Emacs
`string-clean-whitespace'.

Function `s-split' is `split-string' in Emacs.

Function `s-lines' is `string-lines' in Emacs.

And so on, there are various functions that already exist in Emacs.

Just browse the `list' and `string' groups as above explained.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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