Operators compare or contrast sets of data, and will return as true or false. DataScripts rely on the Lua scripting language for the syntax and supported usage of arithmetic, relational and logical operators. When evaluating strings, DataScripts is case sensitive, so “a” does not equal “A”.
+ -- Addition - -- Subtraction * -- Multiplication / -- Division
> -- Greater than < -- Less than >= -- Greater than or equal <= -- Less than or equal == -- Equal ~= -- Not equal
and or not string.find -- Used to search for a string within another string.
Updated: 2018-01-22 22:44:57 +0000