I found the problem. For some reason it was adding an additional index with the IndexOf(" ") function so to solve it. I just did:
string location = new string(newInfo, 0, clientInfo.Length - pos);
and it works just fine now. odd! but if it works it works
