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: tomas
Subject: Re: Tools for those working heavily with strings
Date: Sun, 24 Jul 2022 15:23:16 +0200

On Sun, Jul 24, 2022 at 01:20:47PM +0000, Philip Kaludercic wrote:
> tomas@tuxteam.de writes:
> 
> > On Sun, Jul 24, 2022 at 01:42:14PM +0200, carlmarcos@tutanota.com wrote:
> >> Jul 24, 2022, 11:26 by tomas@tuxteam.de:
> >> 
> >> > On Sun, Jul 24, 2022 at 01:12:39PM +0200, carlmarcos--- via Users
> >> > list for the GNU Emacs text editor wrote:
> >> >
> >> > [...]
> >> >
> >> >> I'd appreciate if emacs could provide a minimum set of functions
> >> >> to manipulate list,
> >> >> as string manipulations are of good use.
> >> >>
> >> >
> >> > Why do you always refuse to read the docs?
> >> >
> >> >> What can be introduced, you think?
> >> >>
> >> >
> >> > What is missing, from your point of view?
> >> >
> >> What can I use to test whether a string in composed of whitespace or is 
> >> empty?
> >
> > Try (string-match-p "^[[:space:]]*$" your-string-here)
> 
> Or `string-empty-p'.

But this is only good for "", not for whitespace, right?

Cheers
-- 

Attachment: signature.asc
Description: PGP signature


reply via email to

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