strlen

strlen (S)

Returns the length of S.An empty string has length 0.Any 8-bit character is counted, including embedded zeros.