extracting string values for dignostic screens