GetVariableString Function

Gets a string variable. This is the simple version of GetVariable that returns the value directly.

Syntax

string GetVariableString(
const string&in name
)

Parameters

const string&in name
The name of the variable.

Return value

string
The variable value. If the variable does not exist or the type is not matching, empty string is returned.

Remarks

None.