in reply to Case conversion

Call the function uc():
$i = uc($i);
uc() in the manpage.