added ContainsString and CompareString functions