SelectableWordsSegmenter.GetTokenAt(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines and returns the selectable word or word stem which contains or follows a specified index into the provided text.
public:
virtual SelectableWordSegment ^ GetTokenAt(Platform::String ^ text, unsigned int startIndex) = GetTokenAt;
SelectableWordSegment GetTokenAt(winrt::hstring const& text, uint32_t const& startIndex);
public SelectableWordSegment GetTokenAt(string text, uint startIndex);
function getTokenAt(text, startIndex)
Public Function GetTokenAt (text As String, startIndex As UInteger) As SelectableWordSegment
Parameters
- text
-
String
Platform::String
winrt::hstring
Provided text in which a word or word stem is to be selected.
- startIndex
-
UInt32
unsigned int
uint32_t
A zero-based index into text. It must be less than the length of text.
Returns
A SelectableWordSegment that represents the selected word or word stem.
Remarks
Note that some languages do not use spaces (such as Japanese or Chinese) and some languages may return multiple word stems for compound words (such as German).