If so, that's some of the worst advice that I've seen on this site. The "==" operator works by converting its arguments to numbers and comparing those. In this case both of the strings will be converted to zero for the comparison, so they _will_ be equal. But there is a huge (effectively infinite) set of strings that are evaluated as zero when used as numbers. Most of these should not match in this case, but will with your code.
Please be more careful with the advice you post here.