string_copy


string_copy(s)
      

Return a new copy of the string s.

Examples:


let s = "hello"
let r = string_copy(s)
string_set(r, 1, \E)
s
// hello
r
// hEllo
      

Also see:

make_string
string_append
substring


Core Module Index | Contents