Get the length of a string in bytes(not including the terminating null character).
int strlen( LPCSTR lpString )
the length of the string (not including zero termination).
EX1
void strlen_ex1() { string str1 = "Hello World!"; int len = strlen(str1); // len is 12 (the length of str1). out_int("The length is ", len); }
origin.h