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.

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

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