setString()

This function creates a variable for storing a text value, and directly setsvalue.

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


Bash
setString(variableName, value) #Output: Text


Examples

Expression parser

Description

Bash
setString("myText","Hello World!")

This example creates the variable "myText", sets the value "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.

value

text

The text value to be stored.

Output

This function returns a  text

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


📚 Use cases and examples