Skip to main content

PadZeros

This Script is part of the Filters And Transformers Pack.#

Adds zeros (0) to the beginning of the string, until the string reaches the specified length.

Script Data#


NameDescription
Script Typepython3
Tagstransformer, string, number
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueString to pad with zeros.
lengthThe desired length of the string. The value specified in the "value" argument will be padded with zeros until the string reaches this length.

Outputs#


There are no outputs for this script.