You need to sign in to do that
Don't have an account?

Compare strings or Integers!!!!!
Hi,
I know how to compare strings and Integers, but i am looking for something like below:
I have 3 strings :
String str1 = ' abcd' ;
String str2 = ' cded' ;
String str3 = ' ==' ; ( This is a oparator and can be any != OR > OR < OR any operator)
Now i need a method or any way to check the above three so that i get a boolean value back based on these three arguments.
Thanks
Bramha
Does this work for you?
Thanks.
All Answers
Does this work for you?
Thanks.
Great Snippet! I would have done sth with IF/ELSE, but this is really good! thanks for sharing!