Click here to Skip to main content
15,903,856 members

Comments by gaurav modi (Top 2 by date)

gaurav modi 3-Apr-12 8:57am View    
hi thanks for Ur reply,
there is comparison between string to string and int to int.but one string contains both type validation.
suppose my string look like this :
string s = "(obj.statename !=\"TEST\" ) && (obj.cityname !=\"AZ\")";
ok?
AND obj.statename and obj.cityname have value at runtime.
obj is my class and statename and cityname are properties of that class.

so i want just know that given string's condition is true or false.
gaurav modi 30-Mar-12 7:01am View    
Hi frnd,can you explain me with a sample code.because my condition contains the too many inner condition.Here my string like :
"( [abc] >=3 ) || ( [xyz] == 3 || [xys] == 5 ) ".
ok?
AND my "[abc]" and "[xyz]" words will be replace by any number or string.so i want to parse that newly string in IF condition.
so i can execute my next line of code based of that IF condition's Result. Could you please help me for this subject?