Example #1
0
        public string[] Split(string[] e, StringSplitOptions o)
        {
            if (e.Length != 1)
                throw new NotImplementedException("");


            var x = ((ActionScript.String)(object)this).split(e[0]);

            if (o == StringSplitOptions.None)
                return x;

            var a = new Array();

            foreach (var v in x)
            {
                if (!string.IsNullOrEmpty(v))
                    a.push(v);
            }


            return (string[])(object)a;
        }