| Searches for an ampersand in a string which indicates a mnemonic.
Recognizes the following cases:
- "Drag & Drop", "Ampersand ('&')" - don't have mnemonic ampersand.
"&" is not found before " " (space), or if enclosed in "'"
(single quotation marks).
- "&File", "Save &As..." - do have mnemonic ampersand.
- "Rock & Ro&ll", "Underline the '&' &character" - also do have
mnemonic ampersand, but the second one.
Parameters: text - text to search the position of mnemonic ampersand in text, or -1 if there is none |