fitSharp
String Handler
The String Handler 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.

configuration setup
service
add 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.

configuration setup
get itemfitSharp.Fit.Operators.CompareString
addw-

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.

configuration setup
get itemfitSharp.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.

configuration setup
get itemfitSharp.Fit.Operators.CompareString
add,IgnoreCase

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

© Copyright Syterra Software Inc. All rights reserved.