| The Modular DocBook Stylesheets | ||
|---|---|---|
| Prev | DSSSL Library | Next |
(string-with-space string #!optional (space " "))
If string is not the empty string, returns string with a space appended. If string is empty, or is not a (string?), returns string unmodified.
The string onto which a space should be appended.
If specified, the space to append. Defaults to a single space.
Norman Walsh, <norm@berkshire.net>
(define (string-with-space string #!optional (space " "))
;; Returns string with a space appended or the empty string
(if (string? string)
(if (equal? string "")
string
(string-append string space))
string))| Prev | Home | Next |
| string-replace | Up | unit-conversion-alist |
Copyright © 1997, 1998 Norman Walsh