static string[] = "hello";if(equal(string, "hello")){ // String was Hello}else if(contain(string, "he") != -1){ // The string contained "he"}