github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/job-specification/hcl2/functions/string/lower.mdx (about)

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