---
title: strings.FirstUpper
description: Returns the given string, capitalizing the first character.
categories: []
keywords: []
action:
  aliases: []
  related:
    - functions/strings/Title
    - functions/strings/ToLower
    - functions/strings/ToUpper
  returnType: string
  signatures: [strings.FirstUpper STRING]
aliases: [/functions/strings.firstupper]
---

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