Skip to main content

StringToArray

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Converts string to array. For example: http://example.com/?score:1,4,time:55 will be transformed to ["http://example.com/?score:1,4,time:55"].

Script Data#


NameDescription
Script Typepython3
Tagstransformer
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
valueThe URL to transform.

Script Example#

!StringToArray value="http://example.com/?score:1,4,time:55"

Human Readable Output#

["http://example.com/?score:1,4,time:55"]