EAGLE Help Light

strlen()

Funkce
Calculates the length of a string.

Zápis
int strlen(string s);

Returns
The strlen function returns the number of characters in the string.

Příklad

string s = "This is a string";
int l = strlen(s);
printf("The string is %d characters long\n", l);


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH