private static IList <string> SplitAndClean(string value) { if (value == null || value.Trim().Length == 0) { return(new List <string>()); } //return new string[]{}; StringCollection collection = StringCollection.Split(value, ";"); for (int i = 0; i < collection.Count; i++) { collection[i] = collection[i].Trim(); } return(collection.ToList()); //return collection.ToArray(); }
// Get a generic list of the data boxes for the given box type public IList <string> GetTextList(ByteVector type) { StringCollection collection = GetTextCollection(type); return(collection.ToList()); }
public IList <string> ToStringList() { return(text.ToList()); }