View Single Post
Old Apr 8th, 2007, 2:04 PM   #4
csrocker101
Programmer
 
Join Date: Dec 2006
Posts: 49
Rep Power: 0 csrocker101 is on a distinguished road
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
csrocker101 is offline   Reply With Quote