vwanaskar
11 years agoOccasional Contributor
!= and == operator not working for if read the value from .csv file file and compare using java
Hi all,
here i am trying to compare cell value(it could be alphabate,digit or combination of both) of of two differnt .csv file using java.so I am reading that value from .CSV file and compare but it showing wrong for == and < ,> operator.it showing behaviour as follow.
* For != and == it showing true for same and different value .
* if i used <and > operator in place of == operator it working ok for only alphabate or digit but not for combination of both. that means it showing same even value are differnt for combination of alphabate and digit.
if tried same script without reading value from csv file then it working ok.
can any one help me to solve this problem.
here i am trying to compare cell value(it could be alphabate,digit or combination of both) of of two differnt .csv file using java.so I am reading that value from .CSV file and compare but it showing wrong for == and < ,> operator.it showing behaviour as follow.
* For != and == it showing true for same and different value .
* if i used <and > operator in place of == operator it working ok for only alphabate or digit but not for combination of both. that means it showing same even value are differnt for combination of alphabate and digit.
if tried same script without reading value from csv file then it working ok.
can any one help me to solve this problem.