I want to do something like a switch but then for usage with strings.
as I understand switch is used switch ( int )
But how do i emulate switch ( String )
I am thinking of something like this
switch ( FunctionThatTransformsStringToInt( SomeStringVariable ) )
case FunctionThatTransformsStringToInt( "SomeSting" ) :
how to make something like this work or what other ways are there?