PROPERTY
StringInfo.LengthInTextElements
Counts text elements using Unicode segmentation rules.
Formal Syntax & Structure
csharp syntaxcsharp
new StringInfo(text).LengthInTextElementsWorking Example
Example Snippetcsharp
int count = new System.Globalization.StringInfo("e\u0301").LengthInTextElements;