ArrayToCSV

Converts a simple Array into a textual comma separated string.

python · Common Scripts

Details

IDArrayToCSV
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.10404775
Tagstransformer general

README

Converts a simple Array into a textual comma separated string

Script Data


Name Description
Script Type python3
Tags transformer, general
Cortex XSOAR Version 6.0.0

Inputs


Argument Name Description
value An 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

args:
- default: true
  isArray: true
  name: value
  description: An array of strings input.
comment: Converts a simple Array into a textual comma separated string.
commonfields:
  id: ArrayToCSV
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ""
enabled: true
name: ArrayToCSV
runas: DBotWeakRole
script: ""
scripttarget: 0
subtype: python3
dockerimage: demisto/python3:3.12.13.10404775
tags:
- transformer
- general
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)