int StringLength (char *string);
Returns the number of bytes in the string up to, but not including, the first ASCII NUL.
char s[100];
int nbytes;
nbytes = StringLength (s);
Input | ||
Name | Type | Description |
string | string | NUL–terminated string whose length is to be calculated. |
Name | Type | Description |
n | integer | Number of bytes in string up to, but not including, the ASCII NUL. |