SketchyLISP Reference |
Copyright (C) 2007 Nils M Holm |
<<[string->number] | [Index] | [string-ci<?]>> |
Conformance: R5RS Scheme
Purpose: Append strings.
Arguments:
A - string
B... - strings to be appended
Model:
(define (string-append . a) (letrec ((append-str (lambda (a b) (list->string (append (string->list a) (string->list b)))))) (fold-left append-str "" a)))
Implementation:
; This function is a primitive function.
Example:
(string-append "He" "llo " "World") => "Hello World"
See also:
string,
string-length,
string-ref,
append.
<<[string->number] | [Index] | [string-ci<?]>> |