This class is great if you are handling any type of "flags", like the $flags field in design documents. The class seems very simple, but more easy to read than String operations like mid / left etc. Can be used like this:
Dim flags As New FlagSet("abcde")
Print flags.isFlagSet("a")
Print flags.isFlagSet("x")
Call flags.setFlag("f")
Print flags.toString()
Call flags.removeFlag("a")
Print flags.toString()
Call flags.setFlags("xyz")
Print flags.toString()