Value :: replaceOptions - Replace system variable
The function allows replacing option variables referenced in a text value. When calling the function, option variables (e.g. "...%Option1% ....") will be replaced by the text currently set for the option variable (in a configuration or ini-file or by calling setOption()). Option variables not set are replaced by empty strings.
When no instance is selected in the value handle or the value is not a text property, the function throws an exception.