C*

Strings

C* has two string types:

void main() {
    var a = "test";
    // a has type 'string'

    var b = StringBuffer(a);
    // b holds a copy of "test" that we can mutate

    b.push('!');
    // b now hold "test!", a is unchanged

    println(a);
    println(b);
}