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

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


Vocabulary
strings

Inputs
na positive integer specifying string length
chan initial character


Outputs
stringa string


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

Definition