ComponentOne SpellChecker for WinForms
C1.Win.C1SpellChecker.4.8 Assembly / C1.Win.C1SpellChecker 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 System.String, _
       ByVal start As System.Integer, _
       ByVal ignore As IgnoreOptions, _
       ByVal previousWord As System.String _
    ) As CharRange
    public static CharRange GetNextWord( 
       System.string text,
       System.int start,
       IgnoreOptions ignore,
       System.string previousWord
    )

    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