Method RemoveHotKeySpecifier | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
RemoveHotKeySpecifier(ustring, int, Rune)
Removes the hotkey specifier from text.
public static ustring RemoveHotKeySpecifier(ustring text, int hotPos, Rune hotKeySpecifier)
Parameters
text
ustring
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
ustring
The input text with the hotkey specifier ('_') removed.