Variable: Edit
This module can be used to change values or keys in variable objects. The modifications to perform are defined in a b4A script, which is similar to the replacement rules defined for the |Automic| utility DB Change. A rule may replace a value if the whole or a part of the old value matches a given pattern.
Designation
- Name
- mc.VariableEdit
- Aliases
- VariableEdit
Configuration
- Optionen
- Test mode (
test-mode
) - Activates a simulation mode
- b4A script variable (
command-vara
) - A variable object containing commands to execute
- b4A script file (
command-file
) - Name of a file containing the commands to execute
Description
The following b4A script commands are provided by the module:
- replace_key( <regular expression>, <new value> )
- replace_value( <regular expression>, <new value>[, <value column> ] )
- replace_value_part( <regular expression>, <new value>[, <value column> ] )
A description of the format of b4A script commands can be found here.