I am new to OOP as a whole let alone VB. I'm trying to turn the following 4 lines into just 2 lines by combining the conditions:
ElseIf GA_URI.StartsWith("/home/index") Then
gaCategory = cat_splash
ElseIf GA_URI = "/games" Then
gaCategory = cat_splash
I have tried this:
ElseIf GA_URI.StartsWith("/home/index") And GA_URI = "/games" Then
gaCategory = cat_splash
But not working. Any help is hugely appreciated