chickadee » scheme » base » vector->string

vector->string vector #!optional start endprocedure

<procedure(string->vector string [start [end]])</procedure>

It is an error if any element of vector between start and end is not a character.

The vector->string procedure returns a newly allocated string of the objects contained in the elements of vector between start and end. The string->vector procedure returns a newly created vector initialized to the elements of the string string between start and end.

In both procedures, order is preserved.

(string->vector "ABC")   ==>   #(#\A #\B #\C)
(vector->string #(#\1 #\2 #\3)  ==> "123"