A copy of s with ASCII lower case letters turned into capitals. The copy is allocated with the
context allocator and the caller frees it.
to_upper_copy :: (s: string) -> string
Parameters
- s: string
Returns
- string
upper := to_upper_copy("Hello");
defer free(upper);
assert(upper == "HELLO");