github.com/hugorut/terraform@v1.1.3/website/docs/language/functions/title.mdx (about)

     1  ---
     2  page_title: title - Functions - Configuration Language
     3  description: |-
     4    The title function converts the first letter of each word in a given string
     5    to uppercase.
     6  ---
     7  
     8  # `title` Function
     9  
    10  `title` converts the first letter of each word in the given string to uppercase.
    11  
    12  ## Examples
    13  
    14  ```
    15  > title("hello world")
    16  Hello World
    17  ```
    18  
    19  This function uses Unicode's definition of letters and of upper- and lowercase.
    20  
    21  ## Related Functions
    22  
    23  * [`upper`](/language/functions/upper) converts _all_ letters in a string to uppercase.
    24  * [`lower`](/language/functions/lower) converts all letters in a string to lowercase.