Skip to main content

ArrayToCSV

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Converts a simple Array into a textual comma separated string

Script Data#


NameDescription
Script Typepython3
Tagstransformer, general
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
valueAn array of strings input

Outputs#


There are no outputs for this script.

Script Examples#

Example command#

``!ArrayToCSV value=["example","example"]````

Context Example#

{}

Human Readable Output#

example,example

Example command#

!ArrayToCSV value="example,example,example"

Context Example#

{}

Human Readable Output#

example,example,example