unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* looping over characters in a string in elisp?
@ 2002-12-25 23:53 Roy Smith
  2002-12-26  0:32 ` Jesper Harder
  2002-12-26 15:50 ` Kai Großjohann
  0 siblings, 2 replies; 5+ messages in thread
From: Roy Smith @ 2002-12-25 23:53 UTC (permalink / raw)


I'm probably being dense, but I can't figure out how to loop over each 
character in a string in elisp (I'm using emacs 20.5.1).  I know I can 
use mapchar to map a function to each character, but I'm looking for 
something that lets me do (essentially):

(while char in string
   (do stuff)
)

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

end of thread, other threads:[~2002-12-29 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-25 23:53 looping over characters in a string in elisp? Roy Smith
2002-12-26  0:32 ` Jesper Harder
2002-12-26 15:50 ` Kai Großjohann
2002-12-29  0:33   ` Ian Zimmerman
2002-12-29 11:37     ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).