LENGTH

#define LENGTH ( name ) ...

Returns the string length of a string argument from its name.

  • name is the argument name.

A string argument is not always terminated by a zero character! You must use this macro to know the length of the string.

See also