github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/website/docs/configuration/functions/lower.html.md (about)

     1  ---
     2  layout: "functions"
     3  page_title: "lower - Functions - Configuration Language"
     4  sidebar_current: "docs-funcs-string-lower"
     5  description: |-
     6    The lower function converts all cased letters in the given string to lowercase.
     7  ---
     8  
     9  # `lower` Function
    10  
    11  -> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
    12  earlier, see
    13  [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
    14  
    15  `lower` converts all cased letters in the given string to lowercase.
    16  
    17  ## Examples
    18  
    19  ```
    20  > lower("HELLO")
    21  hello
    22  > lower("АЛЛО!")
    23  алло!
    24  ```
    25  
    26  This function uses Unicode's definition of letters and of upper- and lowercase.
    27  
    28  ## Related Functions
    29  
    30  * [`upper`](./upper.html) converts letters in a string to _uppercase_.
    31  * [`title`](./title.html) converts the first letter of each word in a string to uppercase.