<string> ( n ch -- string )
Factor handbook > The language > Collections > Strings

Prev:>string ( seq -- str )
Next:1string ( ch -- str )


Vocabulary
strings

Inputs and outputs
na positive integer specifying string length
chan initial character
stringa string


Word description
Creates a new string with the given length and all characters initially set to ch.

Definition