mirror of https://github.com/gohugoio/hugo
20 lines
430 B
Markdown
20 lines
430 B
Markdown
---
|
|
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
|
|
```
|