Original Post
here is my problem let me show you the code first " that is placed at the end of every packet, then I split the packet. mypacket is a string array so I add the split strMessage to mypacket. the problem is mypacket.lenght is 6. mypacket[0] = the data I need mypacket[1] - mypacket[5] = a empty string im guessing its placing 1 empty string per each character in my delimStr how can I remove these before placing the needed data into the mypacket array
if(strMessage.IndexOf("<EOF>") > -1)
{
string delimStr = "<EOF>";
char [] delimchar = delimStr.ToCharArray();
mypacket = strMessage.Split(delimchar);
seems easy strMessage is my packet and im looking for "