示例#1
0
        private StringCollection GetShipToLocationCollection(string text)
        {
            StringCollection sc = new StringCollection();

            string [] s   = text.Split(DELIMITER.ToCharArray());
            int       len = s.Length;

            for (int i = 0; i < len; i++)
            {
                string code = GetShipToLocationCode(s[i]);
                if (code != null)
                {
                    sc.Add(code);
                }
            }
            return(sc);
        }