public static String ToDots(String str)
{
int index1 = str.IndexOf(':');
if (index1 == -1)
{
return null;
}
int index2 = str.IndexOf('_');
if (index2 == -1)
{
return null;
}
String section = str.Substring(0, (index1) - (0));
String subSection = str.Substring(index1 + 1, (index2) - (index1 + 1));
String name = str.Substring(index2 + 1);
return section + "." + subSection + "." + name;
}