[plt-scheme] String functions in Dr. Scheme

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Apr 30 13:54:54 EDT 2007

Daniel Yoo skrev:
> On Sat, 28 Apr 2007, jmcaxolotl at gmail.com wrote:
>> I have some experience with Common Lisp and emacs' elisp, but am new 
>> to Scheme.  I'm trying to fool around with some functions I wrote in 
>> elisp, that need to be able to map the characters in a string to their 
>> numerical places in the alphabet.

Don't forget to lookup "format" in the HelpDesk.

And now I have the chance, I'll mention my latest toy, a
string concatenation macro. An example:

      (concat word 0 i  c  word i _)

evaluates to the same as

      (string-append (substring w 0 i)
                     (string c)
                     (substring w i (string-length w)))

See more at:


Jens Axel Søgaard

Posted on the users mailing list.