---
title: strings.FirstUpper
description: Returns the given string, capitalizing the first character.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: string
    signatures: [strings.FirstUpper STRING]
aliases: [/functions/strings.firstupper]
---

```go-html-template
{{ strings.FirstUpper "foo" }} → Foo
```
