make_string


make_string(n, @optional char = \nul)
      

Return a string of length n. If char is supplied, the string is filled with n occurrences of char.

Examples:


make_string(5)
// \0\0\0\0\0

make_string(5, \y)
// yyyyy"
      

Also see:

string
is_string
is_char


Core Module Index | Contents