hugo/docs/content/en/functions/strings/FirstUpper.md

20 lines
430 B
Markdown
Raw Normal View History

---
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
```