string_copy(s)
Return a new copy of the string s.
s
let s = "hello" let r = string_copy(s) string_set(r, 1, \E) s // hello r // hEllo
Core Module Index | Contents