> For the complete documentation index, see [llms.txt](https://altaisoft.gitbook.io/ysv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://altaisoft.gitbook.io/ysv/language/string-transformations.md).

# String transformations

## uppercase

```yaml
version: 1
columns:
  make:
    - input: make
    - uppercase
```

## lowercase

```yaml
version: 1
columns:
  make:
    - input: make
    - lowercase
```

## replace

```yaml
version: 1
columns:
  make:
    - input: make
    - replace:
        "MERCEDES-BENZ": "MERCEDES"
        "GM": "GENERAL MOTORS"
```

`replace` is cycling through every **pattern** (part to the left of `:`) and replaces it with the **value** (part to the right of `:`).

## replace\_regex

```yaml
version: 1
columns:
  make:
    - input: email
    - replace_regex:
        pattern: "^0$"
        replace: ""
```
