Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • C#

Idiom #328 Convert string to upper case

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

var t = s.ToUpper();
import "strings"
t := strings.ToUpper(s)

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