Gets the next word in a string, starting from a given position.
'Declaration
Public Shared Function GetNextWord( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As IgnoreOptions, _
ByVal As System.String _
) As CharRange
public static CharRange GetNextWord(
System.string ,
System.int ,
IgnoreOptions ,
System.string
)
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.