# capitalize

## Description

Converts all the first characters of the words in the passed value to upper case.

## Input / Parameter

| Name   | Description                  | Input Type  | Default | Options | Required |
| ------ | ---------------------------- | ----------- | ------- | ------- | -------- |
| string | The value to be capitalized. | String/Text | -       | -       | Yes      |

## Output

| Description                  | Output Type |
| ---------------------------- | ----------- |
| Returns the converted value. | String/Text |

## Callback

N/A

## Video

Coming soon.

## Example

The user wants to convert all the first letters of the value passed to upper case.<br>

### Step

1. Call the function `console`. Call the function `capitalize` inside the `value` parameter of the `console` function.\
   string: i am hungry<br>

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-4ea3ce1d9837d370688cc6011b3c948a6dd70b80%2Fcapitalize-step-1.png?alt=media)

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-aa2ebe87fbb02d1e8a0d99bbd6938e7bd2e1d859%2Fcapitalize-step-2.png?alt=media)

### Result

![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-3f0eb2c7ec46a24a73da80602bb0e139713d05b6%2Fcapitalize-result-1.png?alt=media)

## Links
