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