---
title: "toupper — To upper case"
description: "iXML command toupper: To upper case."
canonical_url: "https://www.zeyos.com/ixml/ref/toupper"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/toupper.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# toupper — To upper case

TOUPPER returns the upper case representation of a value by capitalizing the first character, all words or all characters.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name |
| type | type | chars | Capitilization type |

#### Possible values
Possible values for `type`:
- chars — All characters
- words — All words
- first — First character


### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var; type: string

### Examples

```xml
<output>
	<toupper type="first">bill gates</toupper>
</output>

<!-- Bill gates -->
```

```xml
<output>
	<toupper type="words">bill gates</toupper>
</output>

<!-- Bill Gates -->
```

```xml
<output>
	<toupper>iXML</toupper>
</output>

<!-- IXML -->
```
