How do I select the MICR characters between the right-most MICR symbol and the end of the MICR codeline to be evaluated during scanner-based MICR sorting?
If 'UseEndChar' is set to 'true', found under the [MicrSortRuleN] section, and 'EndCharacter' is set to nothing (rather than being set to one of the symbols listed in the CR180Options.ini file), 'StartCharacter' will refer to the right-most occurrence of the specified StartCharacter symbol in the codeline. All MICR characters between the right-most occurrence of 'StartCharacter' and the end of the MICR line will be evaluated against the 'ComparisonString' setting.
Furthermore, the 'position' setting can be used instead of specifying the 'StartCharacter'; 'UseStartCharacter' should be set to 'false'. However, testing suggests that using the start character method more consistently produces expected results.
There are two approaches to address spaces between the right-most occurrence of 'StartCharacter' and the MICR characters used for comparison. The first approach is to set 'RemoveSpaces', found under the [MICR] section, to 'true'. The other approach, if 'RemoveSpaces' is set to 'false', is to place quotes around the value of 'ComparisonString' under the associated [MicrSortRuleN] section:
Use: 'ComparisonString = " 1234"'
Instead of : 'ComparisonString = 1234'