Modifies the text of the variable with various actions.
Optionally, you may add comments here describing the purpose of this element.
The name of the variable the result string will be written to.
The initial text that will be processed. It can be empty, in this case, the current value of the variable will be processed.
Modify Variable command
String and numeric functions.
Add - Add the number defined in Additional parameter. Add 1 if the additional parameter is empty.
Append - Append the line defined in Additional parameter.
Calculate Hash - calculate a hash-value with MD5 algorithm for the value of the specified variable or the initial value.
Delete duplicate letters - If there are some duplicateletters defined in Additional parameter, the function leaves only one letter.
Delete from beginning - Delete letters at the beginning of the text. The amount is defined in Additional parameter.
Delete from end - Delete letters at the end of the text. The amount is defined in Additional parameter.
Delete letters - Delete any letters from the text.
Divide - Divide by the number defined in Additional parameter.
Duplicate letter - Duplicate letters defined in Additional parameter.
Encoding - Encode the text of the variable.
Get [Filename] - Get a filename only if the initial text is a full path filename. You can also get a full path to the file, its name and extension. For this, you need to define the additional parameter.
Insert at the beginning - Insert a string defined in Additional parameter at the beginning of the text.
Length - Do nothing but it writes the current length of the variable to [varname]len.
Lower - Convert the string to lower case.
Multiply - Multiply by the number defined in Additional parameter.
Replace letter - Replace letter defined in Additional parameter.
Substring - Get a substring. The offset and the length are defined in Additional parameter as offset,length.
Subtract - Subtract the number defined in Additional parameter. Subtract 1 if the additional parameter is empty.
Trim - Trim the end spaces and system symbols. Also you can trim any characters.
Upper - Convert the string to upper case.
Specify an additional parameter depending on action. If you want to specify a space letter then specify #space#.
for Add - the number.
for Append - the string which you want to append.
for Calculate Hash - specify noutf, if you want that the value is not encoded to UTF-8.
for Delete letters - You can delete any letter. If you define the variable #space#, the 0x20 value will be removed. If you define the variable #tab#, the 0x9 value will be removed. If you define the variable #nl#, the 0D0A value will be removed. You can specify the #nr# as 0D, or the #nn# as 0A, as a character to delete. But it will not affect the combination '0D0A'.
for Deleting from beginning - number of letters to be deleted.
for Deleting from end - number of letters to be deleted.
for Deleting duplicate letters - a letter. If you specify #nl#, will be deleted duplicates of '0D0A'.
- A---A => A-A
for Dividing - the number.
for Duplicate letter - a letter. If you specify #nl#, then '0D0A' will be duplicated.
\ c:\temp => c:\\temp
for Encoding - specify utf-8 to encode the text to UTF-8.
for Insertion at the beginning - a string to be inserted at the beginning of the text.
for Multiplication - the number.
For Get [Filename] – You can get the directory where a file is located, as well is its name (without extension) and the file’s extension. For this specify the names of the variables, to which corresponding values will be written, separated by commas. If, for example, only one variable will be specified, then the directory where the file is located will be written there.
for Replacing letter - a pair of letters. The function replaces the left letter with the right letter. You can specify the #nr# as 0D, or the #nn# as 0A, as a character to replace. If you want to replace the 0D to 0A, please specify the #nr##nn#, if you want to replace the 0A to 0D, please specify the #nn##nr#. But it will not affect the combination '0D0A'.
#space#- A B C => A-B-C
for Substring - the offset and the length are divided by the comma.
if the string = This is a string 2,7 =>is is a
for Subtraction - the number.
for Trim - 'L' - trim on the left or 'R' - trim on the right. Otherwise, the function trims both on the left and on the right side. You can specify a character which you want to trim. For example, LA - trims 'A' characters on the left, R0 - trims zero on the right.
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.