ComponentOne SpellChecker for WPF and Silverlight
FilterWord Method (ISpellParser)

C1.Silverlight.SpellChecker Namespace > ISpellParser Interface : FilterWord Method
Raw text to be checked.
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

Reference

ISpellParser Interface
ISpellParser Members