string_set(s, i, c)
Change the ith element of the string s to the character c. Return void.
i
s
c
void
The index i must be an exact nonnegative integer less than the length of s.
let s = "hello" string_set(s, 1, \E) s // hEllo
Core Module Index | Contents