[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.CharRange.GetNextWord

GetNextWord Method

GetNextWord(string, int, IgnoreOptions, string)

Gets the next word in a string, starting from a given position.

Declaration
public static CharRange GetNextWord(string text, int start, IgnoreOptions ignore, string previousWord)
Parameters
Type Name Description
string text

String that contains the text.

int start

Starting position where to look for a word.

IgnoreOptions ignore

IgnoreOptions that determines words to ignore.

string previousWord

Previous word (used to detect duplicates).

Returns
Type Description
CharRange

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