Table of Contents

Method RemoveHotKeySpecifier

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

RemoveHotKeySpecifier(string, int, Rune)

Removes the hotkey specifier from text.

public static string RemoveHotKeySpecifier(string text, int hotPos, Rune hotKeySpecifier)

Parameters

text string

The text to manipulate.

hotPos int

Returns the position of the hot-key in the text. -1 if not found.

hotKeySpecifier Rune

The hot-key specifier (e.g. '_') to look for.

Returns

string

The input text with the hotkey specifier ('_') removed.