ComponentOne SpellChecker for WinForms
C1.Win.SpellChecker.8 Assembly / C1.Win.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 System.String _
    ) As System.String
    System.string FilterWord( 
       System.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