[]
        
(Showing Draft Content)

C1.Win.SpellChecker.ISpellParser.FilterWord

FilterWord Method

FilterWord(string)

Method that filters any unwanted characters out of a string to be checked.

Declaration
string FilterWord(string word)
Parameters
Type Name Description
string word

Raw text to be checked.

Returns
Type Description
string

A modified word to be checked, null to skip checking this string, or the same word if no filtering is required.

Remarks

This method is useful in custom parsers that should ignore specific characters or words.

For example, a parser that parses strings with accelerator characters should filter out the ampersands before the word is checked.