Node:String Constructors, Next:, Previous:String Predicates, Up:Strings



21.4.3 String Constructors

The string constructor procedures create new string objects, possibly initializing them with some specified character data.

string . chrs Scheme Procedure
list->string chrs Scheme Procedure
scm_string (chrs) C Function
Return a newly allocated string composed of the arguments, chrs.

make-string k [chr] Scheme Procedure
scm_make_string (k, chr) C Function
Return a newly allocated string of length k. If chr is given, then all elements of the string are initialized to chr, otherwise the contents of the string are unspecified.