ComponentOne Editor for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1Editor.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