> For the complete documentation index, see [llms.txt](https://sevenval.gitbook.io/flat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sevenval.gitbook.io/flat/reference/functions/capitalize-first.md).

# capitalize-first()

```markup
string capitalize-first(string input)
```

Converts the first character of the string given in the `input` parameter to upper case. If the first character is not a lower case character, `input` is returned unmodified. Only the very first character of the entire input is converted, not the first character of each word.
