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