Published on : July 24, 2020
Title : if.not_equal
Purpose : To check two values are not equal
Syntax : [if.not_equal lhs=’left hand side value’ rhs=’right hand side value’]
//** Do something if left hand side value is not equal to right hand side value **//
[/if.not_equal]
Input Parameters :
lhs : left hand side value to be compared with right hand side
rhs : right hand side value to be compared with left hand side
Return Value : It does not return anything
Example 1 :
Code : [if.not_equal lhs=”abc” rhs=”pqr”]
    Both are not equal
[/if.not_equal]
Output : Both are not equal.
Description : In the example, lhs holds the value “abc” and rhs holds the value “pqr”. As both the values are not equal, the condition will get satisfied and the logic inside the condition will get executed.
Example 2 :
Code : [if.not_equal lhs=”300″ rhs=”300″]
    Both are not equal
[/if.not_equal]
Output :
Description : In the example, lhs holds the value “300” and rhs holds the value “300”. As both the values are equal, the condition will not get satisfied and the logic inside the condition will not get executed.