public static ArrayList Str16ToArrayList(string strIn)
{
string sParse = "";
ArrayList myAL = new ArrayList();
int i = 0;
foreach (char cc in strIn)
{
i++;
if (cc == ' ' || sParse.Length == 2)
{
myAL.Add(sParse);
if (sParse.Length == 2 && cc != ' ')
{
sParse = Convert.ToString(cc);
}
else
{
sParse = "";
}
}
else
{
sParse += Convert.ToString(cc);
if (i == strIn.Length && cc != ' ')
{
myAL.Add(sParse);
}
}
}
return myAL;
}
1