equalsStrict
equalsStrict() Function
This function checks for equality between all of the passed in values. Unlike equals() this function can only be used for string values and is case-sensitive.
Usage
<source lang="mtmacro" line> equalsStrict(s1, s2, ...) </syntaxhighlight> Parameters
s1+
- String
Example
<source lang="mtmacro" line>
[h: species = "duck"] [r: equalsStrict(species, "Duck")] [r: equalsStrict(species, "duck")] [r: equalsStrict(species, "Chicken")] </syntaxhighlight> Returns: <source lang="mtmacro"> 0 1 0
</syntaxhighlight>