public virtual void Split(Holder<Dispatch2> array, string target, bool purgeempty
)
{
if (array.mValue == null)
{
array.mValue = TJS.CreateArrayObject();
}
if (RegEx != null)
{
int limit = 0;
if (purgeempty == false)
{
limit = -1;
}
string[] strs = RegEx.Split(target, limit);
int count = strs.Length;
for (int i = 0; i < count; i++)
{
Variant val = new Variant(strs[i]);
array.mValue.PropSetByNum(Interface.MEMBERENSURE, i, val, array.mValue);
}
}
}