public static int[] strToIntArr(string list)
        {
            XmlFormating _format = new XmlFormating();

            string[]   items    = ToolString.trim(ToolString.explodeList(list));
            List <int> valsList = new List <int>();

            foreach (string itm in items)
            {
                if (itm != string.Empty)
                {
                    object obj = _format.parse(itm, typeof(int));
                    if (obj != null)
                    {
                        valsList.Add((int)obj);
                    }
                }
            }
            return(valsList.ToArray());
        }
 public static string[] explodeListLogical(string str)
 {
     return(ToolString.removeEmpty(ToolString.trim(ToolString.explodeList(str))));
 }