---
layout: doc
title: contrib / upper_case.pre
---
# upper_case

### NAME

    upper_case() - returns a string with every letter supplied in the source
    capitalised.

### SYNOPSIS

    string upper_case(string text);

### DESCRIPTION

    Returns a new string with every character in <text> converted to upper case.

### EXAMPLE

    string text = upper_case( "I like cheese." ) ; // "I LIKE CHEESE."

### SEE ALSO

    capitalize(3), lower_case(3)
