Im interfacing with a windows forms application over USB, which works pretty well. But one strange point: On the arduino, I run "Serial.println("connect"). I read this string on the computer and make "If message = "connect" Then..." which is always a false. If I make "If message.Substring(0,7) = "connect" Then..." I always get a true. The Substring function just takes the 7 first letters beginning from the first. So for me, this means, the Arduino sends one character more. If I let the Arduino print the ASCII numbers for what hes sending to the serial monitor, there also only appear 7 characters, and the last one is the "t" from the "connect".
What character am I missing, what should the software check for?