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