Logo

Programming-Idioms

  • Lua

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();
local t = string.upper(s)
var t = s.ToUpper();

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