Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #328 Convert string to upper case

Assign to t the value of the string s, with all letters mapped to their upper case.

let t = s.to_uppercase();
import "strings"
t := strings.ToUpper(s)
let t = s.toUpperCase();
String t = s.toUpperCase();
local t = string.upper(s)
t := UpperCase(s);
$t = uc $s;
t = s.upper()
t = s.upcase

New implementation...
< >
programming-idioms.org