string strName = "(!DisplayName!)"; string strFormat = "(!format!)"; string strOfficeHours =""; // ... Switch on the string. switch (strName) { case "Name of Person": strOfficeHours = "Office Hours Go Here"; break; case "Name of Person": strOfficeHours = "Office Hours Go Here"; break; case "Name of Person": strOfficeHours = "Office Hours Go Here"; break; default: { strOfficeHours=""; break; } } return strOfficeHours;