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

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

Re: count char in string [The Emacs Challenge Competition - round 2, wit


From: Benjamín Buccianti
Subject: Re: count char in string [The Emacs Challenge Competition - round 2, with fallout]
Date: Sat, 28 Nov 2020 14:40:46 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> writes:

>
>> (count-char-in-string "hii" ?I) ;; ⇒ 2
>
> That's 0 :) because it is case sensitive (as it should)

Would be awesome to provide a few simple tests?

We can make this as a web similar to vim-golf?




reply via email to

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