Hi Folks,
if there a better (or shorter) way to write this?
I am using this for Flow switch.
if(strExch.StartsWith(“BDA”), “EAST”, if(strExch.StartsWith(“GLA”), “EAST”, if(strExch.StartsWith(“KTA”), “EAST”, if(strExch.StartsWith(“PRA”), “EAST”,if(strExch.StartsWith(“CGA”), “EAST”, if(strExch.StartsWith(“AMA”), “NORTH”,if(strExch.StartsWith(“PLA”), “NORTH”,if(strExch.StartsWith(“HGA”), “NORTH”,if(strExch.StartsWith(“NTA”), “NORTH”, if(strExch.StartsWith(“CTA”), “TOWN”,if(strExch.StartsWith(“CYA”), “TOWN”,if(strExch.StartsWith(“ESA”), “TOWN”,if(strExch.StartsWith(“OCA”), “TOWN”,if(strExch.StartsWith(“TBA”), “TOWN”, if(strExch.StartsWith(“ARA”), “WEST”,if(strExch.StartsWith(“BPA”), “WEST”,if(strExch.StartsWith(“JEA”), “WEST”,if(strExch.StartsWith(“JRA”), “WEST”,if(strExch.StartsWith(“JWA”), “WEST”,if(strExch.StartsWith(“QTA”), “WEST”,if(strExch.StartsWith(“TSA”), “WEST”, “Default”)))))))))))))))))))))
