string_fill


string_fill(s, c)
      

Set all elements in the string s to the character c. Return void.

Examples:


let s = "hello"
string_fill(s, \a)
s
// aaaaa
      

Also see:

string_set
make_string


Core Module Index | Contents