www.delorie.com/gnu/docs/guile/guile_189.html   search  
 
Buy GNU books!


Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.4.3 String Constructors

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

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

Scheme Procedure: make-string k [chr]
C Function: scm_make_string (k, chr)
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.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003