---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/function-ref/CAST_ARR_STR
  - ru/function-ref/CAST_ARR_STR
  - href: ru/function-ref/CAST_ARR_STR.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: ru/function-ref/CAST_ARR_STR.html
editable: false
vcsPath: ru/function-ref/CAST_ARR_STR.md
---

# CAST_ARR_STR



#### Синтаксис {#syntax}


```
CAST_ARR_STR( array )
```

#### Описание {#description}
Приводит массив `array` к массиву строк. Правила преобразования аналогичны функции [STR](STR.md).

**Типы аргументов:**
- `array` — `Массив дробных чисел | Массив целых чисел | Массив строк`


**Возвращаемый тип**: `Массив строк`

#### Пример {#examples}



| **[int_array]**    | **[float_array]**   | **CAST_ARR_STR([int_array])**   | **CAST_ARR_STR([float_array])**   |
|:-------------------|:--------------------|:--------------------------------|:----------------------------------|
| `'[12,0,42]'`      | `'[12.3,0.43,42]'`  | `"['12','0','42']"`             | `"['12.3','0.43','42']"`          |
| `'[-3,NULL,0]'`    | `'[0,NULL,12]'`     | `"['-3',NULL,'0']"`             | `"['0',NULL,'12']"`               |
| `'[132,637,NULL]'` | `'[3.2,2.3,3.5]'`   | `"['132','637',NULL]"`          | `"['3.2','2.3','3.5']"`           |




#### Поддержка источников данных {#data-source-support}

`ClickHouse 21.8`, `Файлы`, `Google Sheets`, `PostgreSQL 9.3`, `Trino`, `Яндекс Документы`.
