Method RemoveHotKeySpecifier
RemoveHotKeySpecifier(ustring, int, Rune)
Removes the hotkey specifier from text.
public static ustring RemoveHotKeySpecifier(ustring text, int hotPos, Rune hotKeySpecifier)
Parameters
text
ustringThe 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
- ustring
The input text with the hotkey specifier ('_') removed.