github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/job-specification/hcl2/functions/string/lower.mdx (about) 1 --- 2 layout: docs 3 page_title: lower - Functions - Configuration Language 4 description: >- 5 The lower function converts all cased letters in the given string to 6 lowercase. 7 --- 8 9 # `lower` Function 10 11 `lower` converts all cased letters in the given string to lowercase. 12 13 ## Examples 14 15 ```shell-session 16 > lower("HELLO") 17 hello 18 > lower("АЛЛО!") 19 алло! 20 ``` 21 22 This function uses Unicode's definition of letters and of upper- and lowercase. 23 24 ## Related Functions 25 26 - [`upper`](/docs/job-specification/hcl2/functions/string/upper) converts letters in a string to _uppercase_. 27 - [`title`](/docs/job-specification/hcl2/functions/string/title) converts the first letter of each word in a string to uppercase.