mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-18 18:06:46 -05:00
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
|
||
|
```
|