@ Pure public static String removeMnemonicChar ( String text ) { if ( text == null ) { return text ; } return text . replaceFirst ( "&" , "" ) ; //$NON-NLS-1$ //$NON-NLS-2$ }
Remove the mnemonic char from the specified string .