String case

import "std/string.zc"

fn main() {
    let s = String::from("alphaBETA");
    println "{s.to_uppercase()}";
    println "{s.to_lowercase()}";
}

Output:

ALPHABETA
alphabeta

Attribution: This is a community solution for the Rosetta Code task String case in Zen C.

This article uses material from the Rosetta Code article String case, which is released under the GNU Free Documentation License 1.3. A list of the original authors can be found in the page history.