Please check this... You need to have 2 formula fields; Assuming that you could rely on the format , here are the values of the formula you would want to use:
Formula 1: (testFormula_Country) :
Mid( CountryCityStateValue__c ,
find("/",CountryCityStateValue__c ,1)+1,
find("/",CountryCityStateValue__c ,2) - find("/",CountryCityStateValue__c ,1) - 1
)
Formula 2: (testFormula_CityState) :
Mid(CountryCityStateValue__c ,
find("/",CountryCityStateValue__c ,2)+1,
len(CountryCityStateValue__c ) - find("/",CountryCityStateValue__c ,2) - 1
)
CountryCityStateValue__c field contains the combined value
Attached is the screenshot, where the results are displayed on the page.
IN
, field 2 =TG/HYD