Method RemoveHotKeySpecifier
RemoveHotKeySpecifier(string, int, Rune)
Removes the hotkey specifier from text.
public static string RemoveHotKeySpecifier(string text, int hotPos, Rune hotKeySpecifier)
Parameters
textstringThe text to manipulate.
hotPosintReturns the position of the hot-key in the text. -1 if not found.
hotKeySpecifierRuneThe hot-key specifier (e.g. '_') to look for.
Returns
- string
The input text with the hotkey specifier ('_') removed.