View Single Post
Old January 15th, 2013, 04:44 PM   #4 (permalink)
IAmHe
New Member
 
Join Date: Oct 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

According to the User Guide section on pattern matching
"Matches (~)
The right parameter is a pattern which the left parameter is matched against.
.
.
.
Equals (=)
As above, but the two parameters must be numerically equal."


If I interpret that correctly, you fixed it by replacing the operator used to compare numeric values (=) with the one that is to compare strings (~). Got bit by that myself the other day!

-IAmHe
IAmHe is offline  
Reply With Quote