Built-in operators
VMware Smart Assurance
NOTIF includes
the following operators for use in scripting:- str1 + str2 — Returns the concatenation of str1 and str2."abc" + "def" ---> "abcdef"
- number1 + number2 — Returns the sum of the two numbers.123 + 456 ---> "579"The script evaluation ofVMware Smart AssuranceNOTIF is string-based.VMware Smart AssuranceNOTIF examines the two operands and, if both are legal numbers, it sums them. Otherwise, the two strings are concatenated. To ensure a concatenation regardless of string content, use the concat() function described.
- number1 * number2 — Returns the product of the two numbers.3 * 4 ---> "12"