ComponentOne RichTextBox for WPF
C1.WPF.SpellChecker Namespace / CharRange Class / GetNextWord Method
String that contains the text.
Starting position where to look for a word.
IgnoreOptions that determines words to ignore.
Previous word (used to detect duplicates).

In This Topic
    GetNextWord Method (CharRange)
    In This Topic
    Gets the next word in a string, starting from a given position.
    Syntax
    'Declaration
     
    
    Public Shared Function GetNextWord( _
       ByVal text As String, _
       ByVal start As Integer, _
       ByVal ignore As IgnoreOptions, _
       ByVal previousWord As String _
    ) As CharRange

    Parameters

    text
    String that contains the text.
    start
    Starting position where to look for a word.
    ignore
    IgnoreOptions that determines words to ignore.
    previousWord
    Previous word (used to detect duplicates).

    Return Value

    A CharRange object that contains the next word in the string, or null if there are no more words in the string.
    See Also