public static string GetCodePageName(string combinedString)
{
if (string.IsNullOrEmpty(combinedString))
{
return string.Empty;
}
string[] dataTemp = combinedString.Split('|');
// A string contain tag name and matched token following the format "identifier|CodePageName|TagName|Token" a total of 4 properties.
if (dataTemp.Length < 4)
{
return string.Empty;
}
// Convert the second information : CodePageName in format "identifier|CodePageName|TagName|Token".
return dataTemp[1];
}