setStringList()

This function creates a variable for storing a text list, and directly sets the values.

This value will be immediately returned and can be accessed by the getStringList() function afterwards within the same expression.


Bash
setStringList(variableName, textList) #Output: Text list


Examples

Expression parser

Description

Bash
setStringList("myTextList",["Hello","World"])

This example creates the variable "myTextList", sets the values ["Hello","World"] and returns it accordingly.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

variableName

text

A text for the variable name.

numberList

issue list

Any given text list.

Output

This function returns a  text list

To retrieve the value stored in the variable, use the function getStringList() within the same expression.


📚 Use cases and examples