What I don't understand is your reply #3 that implies that you had not read the thread title in that it fails to show how to read a character from an array of chars, commits the "sin" of using Serial.print() with the char array then has the nerve to suggest
QuoteIf someChars is NOT a string (i.e. is not NULL terminated), then strlen() can NOT be called.
without mentioning the same problem with Serial.print()
We are evens on this I think and could both have been more specific in what we wrote.
What I was trying to say was that if the argument passed to the function was a string, and that it was OK to call strlen() with that argument, it was also OK to call Serial.print() with that argument. It would not be necessary to print each character individually.
On the other hand, if the argument was NOT a string, so it was necessary to print the characters one by one, then one can't use strlen() to determine how many there are to print.