Method GetWithoutMnemonicMarkers
GetWithoutMnemonicMarkers(string, out int, char)
Removes mnemonic markers from a string and returns the index of the mnemonic character, if present.
public static string GetWithoutMnemonicMarkers(string s, out int mnemonicCharIndex, char mnemonicMarker)
Parameters
sstringThe input string containing mnemonic markers.
mnemonicCharIndexintThe output index of the mnemonic character in the returned string. Returns -1 if no mnemonic marker is found.
mnemonicMarkercharThe character used to mark mnemonics.
Returns
- string
The input string with mnemonic markers removed. Double markers are converted to a single literal character.