Check() for specific strings


#1

I’m using check(variable, String) to check for a string. But I would like to make that more precise as there are only specific strings allowed.

So how do I check if variable is this or that? All other Strings should be invalid.