all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to get count of a specific character
@ 2014-02-04 14:29 Angus Comber
  2014-02-04 14:44 ` Nicolas Richard
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Angus Comber @ 2014-02-04 14:29 UTC (permalink / raw
  To: help-gnu-emacs

I have a buffer which is a massive long line of names followed by semi-colon.  I want to get a list of the number of names I have.  I can highlight the region and use wc to get count of words and divide by 2 to get a rough measure.

But it would be an easy task if I could simply get a count of the number of semi-colon characters?

Does anyone know a way to get this?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-04 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04 14:29 How to get count of a specific character Angus Comber
2014-02-04 14:44 ` Nicolas Richard
2014-02-04 14:48 ` Thorsten Jolitz
2014-02-04 14:49 ` Loris Bennett
     [not found] ` <mailman.13678.1391525077.10748.help-gnu-emacs@gnu.org>
2014-02-04 15:28   ` Angus Comber
2014-02-04 15:34     ` Nicolas Richard

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.