If I use a switch statement on a string var, is it possible to get cases by pattern matching? (regex or formatstrings)
For example:
var s string
switch(s) {
case "%02d.%04d":
etc.
I'm not on a computer where I can test this at the moment but I'm trying to get some code done anyways. Help much appreciated!
Thanks in advance,
Vincent
Skickat från min iPhone