public static string CreateKeyword(string strAllWords, string strExactPhrase, string strAnyWords, string strWithoutWords) { KeywordBuilder objKeywordBuilder = new KeywordBuilder(); if (strAllWords == null) { strAllWords = ""; } if (strAnyWords == null) { strAnyWords = ""; } if (strWithoutWords == null) { strWithoutWords = ""; } if (strExactPhrase == null) { strExactPhrase = ""; } strAllWords = KeywordBuilder.CleanupKeywords(strAllWords); //strExactPhrase = KeywordBuilder.CleanupKeywords(strExactPhrase); strAnyWords = KeywordBuilder.CleanupKeywords(strAnyWords); strWithoutWords = KeywordBuilder.CleanupKeywords(strWithoutWords); objKeywordBuilder.BuildKeywordFromOptions(strAllWords, strExactPhrase, strAnyWords, strWithoutWords); return(objKeywordBuilder.Keyword); }