RichTextBox for WPF | ComponentOne
C1.WPF.SpellChecker Namespace / ISpellParser Interface / FilterWord Method
Raw text to be checked.

In This Topic
    FilterWord Method (ISpellParser)
    In This Topic
    Method that filters any unwanted characters out of a string to be checked.
    Syntax
    'Declaration
     
    
    Function FilterWord( _
       ByVal word As String _
    ) As String
    string FilterWord( 
       string word
    )

    Parameters

    word
    Raw text to be checked.

    Return Value

    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.

    See Also