Method GetMnemonicCharIndex
GetMnemonicCharIndex(string, char)
Gets the index of the mnemonic character in the specified string.
public static int GetMnemonicCharIndex(string input, char mnemonicMark = '&')
Parameters
inputstringThe string to search for the mnemonic character.
mnemonicMarkcharThe mnemonic character used to identify the intended character.
Returns
- int
The index of the mnemonic character, or -1 if not found.