I''ve been searching over the eval docs looking for a way to do a simple string comparison, like .Net string.Compare, but I''m not seeing it. I could add it, but seems like something I might have missed.
In Essential Calculate, strings need to be enclosed in parenthesis. For example, in the \Syncfusion\Essential Suite\18.104.22.168\Windows\Calculate.Windows\Samples\DataGridCalculator, if you load the single DataGrid sample and type the string abc in cell A3, then you can type
= A3="abc" into the textbox and press Compute, you will see the logical value TRUE displayed.
So, you can use the logical operators to compare strings as long as any constant strings in the expression are enclosed in parens.
Please note that in 22.214.171.124, the order returned by < and > are switched (ie. "a" > "b" returns true). This has been changed for the upcoming 3.2 release.
BTByron TateJuly 14, 2005 05:43 PM UTC
you mean that strings must be inclosed in quotes, not ''parentheses'' , right?