> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.carbone.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Print a list of strings

# Print a list of strings / numbers

The goal is to print each elements into a newline. 
The following JSON dataset is used as an example:

```json
{
 "fruits": [   "Banana",   "Apple",   "Strawberry",   20,   "Orange"    ]
}
```
The solution is to join all elements with new line characters `\n` with `:arrayJoin`, then convert them into DOCX/ODS/ODT/PDF formats with `:convCRLF`, such as:
```
{d.fruits:arrayJoin('\n'):convCRLF()}
```

![ODT template edited with LibreOffice](https://storage.crisp.chat/users/helpdesk/website/f355e91d7615e000/screenshot-2022-09-05-at-15413_ebu24p.png)


![ PDF preview on the right, and JSON dataset on the left - Carbone Cloud Studio](https://storage.crisp.chat/users/helpdesk/website/f355e91d7615e000/screenshot-2022-09-05-at-15421_eevdh7.png)

Learn more:
* [arrayJoin documentation](https://carbone.io/documentation.html#arrayjoin-separator-)
* [convCRLF documentation](https://carbone.io/documentation.html#convcrlf-)