klyn.gui.windows.Label.mnemonicDisplayIndexFor
method
public static mnemonicDisplayIndexFor(value as String) as Int:
Description

Returns the display-text index of the mnemonic marker.

This is useful for controls that reuse label-style & mnemonics, such as menus. The returned index targets the text after & markers have been removed.

assert Label.mnemonicDisplayIndexFor("&File") == 0