blob: 9accf999e23bab879c782bd4388085aea12ef92e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
title: lower
description: Converts all characters in the provided string to lowercase.
categories: [functions]
menu:
docs:
parent: functions
keywords: [strings,casing]
signature:
- "lower INPUT"
- "strings.ToLower INPUT"
relatedfuncs: []
---
Note that `lower` can be applied in your templates in more than one way:
```go-html-template
{{ lower "BatMan" }} → "batman"
{{ "BatMan" | lower }} → "batman"
```
|