2017-08-10 11:18:22 -04:00
|
|
|
---
|
|
|
|
title: upper
|
|
|
|
# linktitle: upper
|
|
|
|
description: Converts all characters in a string to uppercase
|
|
|
|
godocref:
|
|
|
|
date: 2017-02-01
|
|
|
|
publishdate: 2017-02-01
|
|
|
|
lastmod: 2017-02-01
|
2017-09-21 13:03:00 -04:00
|
|
|
keywords: []
|
2017-08-10 11:18:22 -04:00
|
|
|
categories: [functions]
|
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: "functions"
|
|
|
|
toc:
|
|
|
|
signature: ["upper INPUT"]
|
|
|
|
workson: []
|
|
|
|
hugoversion:
|
|
|
|
relatedfuncs: []
|
|
|
|
deprecated: false
|
|
|
|
draft: false
|
|
|
|
aliases: []
|
|
|
|
---
|
|
|
|
|
|
|
|
Note that `upper` can be applied in your templates in more than one way:
|
|
|
|
|
|
|
|
```
|
|
|
|
{{ upper "BatMan" }} → "BATMAN"
|
|
|
|
{{ "BatMan" | upper }} → "BATMAN"
|
|
|
|
```
|
|
|
|
|