Search for a string value in a table of constants.
table |
A EnumMatch enum table of values |
string |
the string constant to search for, e.g. "desktop-gnome" |
the enumerated constant value, e.g. PK_SIGTYPE_ENUM_GPG |