Logo

Programming-Idioms

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

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating material.

Please try to avoid dependencies to third-party libraries and frameworks.

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