toupper


Description:

public char toupper ()

Example: Convert a character to upper case:

public static int main (string[] args) {
// Output: ``AA1 !``
print ("%c", 'A'.toupper ());
print ("%c", 'a'.toupper ());
print ("%c", '1'.toupper ());
print ("%c", ' '.toupper ());
print ("%c", '!'.toupper ());
print ("%c", '\n'.toupper ());
return 0;
}

valac --pkg glib-2.0 char.toupper.vala