lq-text: LQT_StringToWordFlags

API char * LQT_StringToWordFlags (db, String, Flagp) t_LQTEXT_Database *db; char *String; t_WordFlags *Flagp;

Purpose

Tries to reverse the operation of LQT_Word­Flags­To­String. In other words, LQT_String­To­Word­Flags takes a string which it assumes to be a sequence of names of flags as defined in the header file <wordrules.h> separated by LQTpWordFlagSep (a comma), and returns the bitwise `or' of the Word Flags corresponding to the Names that are found.

Returns

a pointer to the first unconverted character in String, and the actual value in Flagp

See Also: