/// <summary> /// Creates a new WordList. /// </summary> /// <param name="text">The text.</param> /// <param name="splitChars">The split chars.</param> /// <returns></returns> /// <remarks>Documented by Dev03, 2008-02-06</remarks> public static WordList Create(string text, string[] splitChars) { string[] words = text.Split(splitChars, StringSplitOptions.RemoveEmptyEntries); WordList wl = new WordList(words); return wl; }
/// <summary> /// Creates a new WordList. /// </summary> /// <param name="text">The text.</param> /// <returns></returns> /// <remarks>Documented by Dev03, 2008-02-06</remarks> public static WordList Create(string text) { WordList wl = new WordList(); wl.CommaText = text; return wl; }