terraform/website/docs/language/functions/lower.mdx

27 lines
621 B
Plaintext
Raw Normal View History

---
2021-12-15 03:41:17 +01:00
page_title: lower - Functions - Configuration Language
description: >-
The lower function converts all cased letters in the given string to
lowercase.
---
# `lower` Function
`lower` converts all cased letters in the given string to lowercase.
## Examples
```
> lower("HELLO")
hello
> lower("АЛЛО!")
алло!
```
This function uses Unicode's definition of letters and of upper- and lowercase.
## Related Functions
2021-12-15 03:41:17 +01:00
* [`upper`](/language/functions/upper) converts letters in a string to _uppercase_.
* [`title`](/language/functions/title) converts the first letter of each word in a string to uppercase.