yes you can as an input to a case structure or as inputs into the conditional functions such as an equals function. These functions are polymorphic and will allow you to connect various data types and compare them.
If you mean for a case structure, then the answer is yes as of something like LV5.1 or LV6. You enter in the strings with quotes and comma separated. I suspect there is an example of this. If this isn't powerful enough because you want wildcarding and such, use Match Pattern or other code in front of the case and output an integer or enum.