---
layout: doc
title: strings / capitalize
---
# capitalize

### NAME

    capitalize() - capitalize a string

### SYNOPSIS

    string capitalize( string str );

### DESCRIPTION

    Convert  the first character in <str> to upper case, and return the new
    string.

### SEE ALSO

    lower_case(3)

