public static String removeAccelerator(String text)
	{
		String modifiedText = text;

		// Search for ~
		int location = text.lastIndexOf(CONTROL_2);

		// If not found then search for hex EE
		if (location < 0)
		{
			location = text.lastIndexOf(CONTROL_1);
		}

		// If not found then search for '&'
		if (location < 0)
		{
			location = text.lastIndexOf(CONTROL_3);
		}

		if (location >= 0)
		{
			modifiedText = text.substring(0, location)
					+ text.substring(location + 1);
		}
		return modifiedText;
	}