Table of Contents

Method GetGraphemes

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

GetGraphemes(string)

Enumerates extended grapheme clusters from a string. Handles surrogate pairs, combining marks, and basic ZWJ sequences. Safe for legacy consoles; memory representation is correct.

public static IEnumerable<string> GetGraphemes(string text)

Parameters

text string

Returns

IEnumerable<string>