Method StringUtil.FlagsFromLetters
Overload
Parses flags from string where flags are mapped to characters. See StringUtil.FlagsToLetters
public static int FlagsFromLetters(string s, params (int flag, char c)[] map)
Parameters
Returns
Remarks
If the string is a number, interprets it as the flags value. Don't use ASCII digits for flags. Any other characters are OK, not only letters.