string / int length?

Is there a length function for C/C++?

For example:

php: strlen($mystring);

javascript: mystring.length();

EDIT: That is usable with the arduino.exe program.

Yes, it's called "strlen"

Look at :-

http://www.nongnu.org/avr-libc/user-manual/modules.html

Don`t forget to use #include <????.h>

Look at string.h and stdlib.h