I'm trying to make a function that can scan a char array, and finish it's business when it comes to a '\0'. so here is the for loop i came up with:
for( i=0 ; charArray[i] != '\0' ; i++ )
But here is an example of entered data: "1234 432"
It seems to end the loop at the space. So are spaces and null characters similar? how can i differentiate between the two so that it keeps going right through a space and only stops at a null?