Next: SCM printf, Previous: SCM min, Up: Common Functions [Contents][Index]
Usage: (prefix prefix text)
Prefix every line in the second string with the first string.
This includes empty lines, though trailing white space will
be removed if the line consists only of the "prefix".
Also, if the last character is a newline, then *two* prefixes will
be inserted into the result text.
For example, if the first string is "# " and the second contains:
"two\nlines\n"
The result string will contain:
# two # lines #
The last line will be incomplete: no newline and no space after the hash character, either.
Arguments:
prefix - string to insert at start of each line
text - multi-line block of text