Next: , Previous: , Up: srfi strings spec   [Index]


2.8.3.3 Constructors

Function: make-string len
Function: make-string len char

Return a newly allocated string of length len. If char is given, then all elements of the string are initialized to char, otherwise the contents of the string are unspecified.

Function: string char ...

Return a newly allocated string composed of the argument characters.

Function: string-tabulate proc len

proc is an integer–to–char procedure. Construct a string of size len by applying proc to each index to produce the corresponding string element. The order in which proc is applied to the indices is not specified.