---
url: /cube-functions/proper.md
description: >-
  Capitalizes the first letter of each word in a text string and sets all other
  letters to lowercase.
---

# PROPER&#x20;

Capitalizes the first letter of each word in a text string and sets all other letters to lowercase. Returns the modified text string.

```js
PROPER(input_string)
```

#### Parameters

* `input_string` - The text string to modify.

#### Examples

```js
PROPER("hello world")
```

**Result:** `Hello World`

**Note:** Capitalizes the first letter of each word in the text string `hello world` and sets all other letters to lowercase.
