Strlen

From SDU
Revision as of 15:52, 3 September 2008 by Gityerfix (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

int strlen(string str)

returns the length of a string

eg.

string myString;

int i;

myString = "hello";

i = strlen(myString);

// i = 5