fitSharp
Compare String
The Compare String operator compares strings with options to ignore white space and ignore case. Cell prefixes can be used to identify the cells that use the handler, or it can be used on all cells with string types.

configureprocessoradd operatorCompareString

The default option is to ignore whitespace.

string
fieldfield?
h e l l o he llo
nullfail[he llo]

A cell prefix can be configured to identify the cells to be compared by the handler.

configurefitSharp.Fit.Operators.CompareStringaddw-

string
fieldfield?
h e l l o w-he llo
h e l l o fail[he llo]

Comparison options can be configured for a cell prefix.

configurefitSharp.Fit.Operators.CompareString
addi-,IgnoreCase
addw*,IgnoreWhitespace
addb!,IgnoreCase,IgnoreWhitespace

string
fieldfield?
helloi-HeLlo
hellofail[i-he llo]
hellofail[HeLlo]
h e l l o w*he llo
h e l l o b!He Llo

Comparison options can be configured for an empty prefix.

configurefitSharp.Fit.Operators.CompareStringadd,IgnoreCase

string
fieldfield?
helloHeLlo
h e l l o fail[he llo]

© Copyright Syterra Software Inc. All rights reserved.