String module

to_upper_in_place

procedure · 1 overloadSource

Turns the ASCII lower case letters of s into capitals, in place. See to_lower_in_place.

to_upper_in_place :: (s: string)

Parameters

s: string
ExampleOpen in playground ↗
text := copy_string("MiXeD");
defer free(text);
to_upper_in_place(text);
assert(text == "MIXED");

See also