Added a new file with some utils I use to be able to do a switch with strings

Merged Philip Müller requested to merge maitesin:master into master

Created by: maitesin

I think I can still improve some of the content of the cases (I can see three really similar).

If you like the way I make the switch I will spend some more time in other files to change big blocks of if else if... that can be converted into switch.

Merge request reports