> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# INITCAP

> Capitalizes each word and lowercases the rest.

<div className="e6-meta"><span className="e6-eyebrow e6-eyebrow--quiet">Scalar function</span></div>

Returns NULL for NULL input.

## Syntax

### Scalar

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
initcap(value)
```

## Arguments

| Name | Type | Required | Description |
| - | - | - | - |
| value | STRING | Yes | The string. |

## Returns

* Type: STRING
* Possible values: Title-cased text.
* NULL behavior: Returns NULL for NULL input.

## Properties

| Property | Value |
| - | - |
| Deterministic | Yes |
| Supports window usage | No |
| Exact result | Yes |

## Usage notes

* Non-Snowflake word boundaries are non-alphanumeric. Snowflake uses fixed ASCII delimiters excluding apostrophe, backtick and equals.

## Examples

### Typical behavior

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
SELECT initcap('hello WORLD') AS "value";
```

| value |
| - |
| Hello World |

### Snowflake dialect word boundaries

* Requires the Snowflake SQL dialect configured with DATABASE\_TYPE=snowflake.

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
SELECT initcap('a=b=c') AS "value";
```

| value |
| - |
| A=b=c |

## Limitations

* Takes one STRING argument. A custom delimiter argument is not supported.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.