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: Philip Kaludercic
Subject: Re: Tools for those working heavily with strings
Date: Sun, 24 Jul 2022 14:45:30 +0000

tomas@tuxteam.de writes:

> 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?

Yes, my bad I always mix it up with string-blank-p from subr-x.



reply via email to

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