Node:SRFI-13 List/String Conversion,
39.11.4 List/String Conversion
string->list is extended by SRFI-13, that is why it
is included in
(srfi srfi-13). The other procedures are new.
The Guile core already contains the procedure
converting a list of characters into a string (see List/String Conversion).
|string->list str [start end]
Convert the string str into a list of characters.
An efficient implementation of |
(reverse-list->string '(#\a #\B #\c)) => "cBa"
|string-join ls [delimiter grammar]
Append the string in the string list ls, using the string
delim as a delimiter between the elements of ls.
grammar is a symbol which specifies how the delimiter is
placed between the strings, and defaults to the symbol
- Insert the separator between list elements. An empty string
will produce an empty list.
infix, but will raise an error if given the empty
- Insert the separator after every list element.
- Insert the separator before each list element.