Modify VariableModifies the text of the variable with various actions. Description Optionally, you may add comments here describing the purpose of this element.
Variable name The name of the variable the result string will be written to.
myvalue
Initial text The initial text to will be processed. It can be empty, in this case, the current value of the variable will be processed.
Action String and numeric functions. Add - Add the number defined in Additional parameter. Add 1 if the additional parameter is empty. Delete duplicate letters - If there are some same letters defined in Additional parameter, the function leave only one letter. Delete from the beginning - Delete letters at the beginning of the text. The amount is defined in Additional parameter. Delete from the end - Delete letters at the end of the text. The amount is defined in Additional parameter. Divide - Divide by the number defined in Additional parameter. Duplicate letter - Duplicate letters defined in Additional parameter. Get [Filename] - Get a filename only if the initial text is a full path filename. Insert at the beginning - Insert a string defined in Additional parameter at the beginning of the text. 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 spaces and less letters. Upper - Convert the string to upper case.
Additional parameter Specify additional parameter depending on action. If you want to specify a space letter then specify #space#. for Add - the number. for Delete from the beginning - amount of deleting letters. for Delete from the end - amount of deleting letters. for Delete duplicate letters - a letter.
-
A---A => A-A for Divide - the number. for Duplicate letter - a letter.
\
c:\temp => c:\\temp for Insert at the beginning - a string to be inserted at the beginning of the text. for Multiply - the number. for Replace letter - a couple of letters. The function replaces the left letter to the right letter.
#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 Subtract - 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.
|