Retrieves a substring of text elements from the current System.Globalization.StringInfo object starting from a specified text element and continuing through the last text element.
- startingTextElement
- The zero-based index of a text element in this System.Globalization.StringInfo object.
A substring of text elements in this System.Globalization.StringInfo object, starting from the text element index specified by the startingTextElement parameter and continuing through the last text element in this object.
Consider a string that consists of five text elements, indexed from 0 through 4. If the startingTextElement parameter is 1, the StringInfo.SubstringByTextElements(int) method returns a substring that consists of the text elements for which the indexes are 1, 2, 3, and 4.