Difference between revisions of "Strlen"

From SDU
Jump to: navigation, search
(New page: int strlen(string str) returns the length of a string eg. string myString; int i; myString = "hello"; i = strlen(myString); // i = 5)
 
m
 
Line 1: Line 1:
 +
__NOTOC__
 +
[[Category:Customizations]]
 +
[[Category:r6]]
 +
[[Category:r11]]
 +
[[Category:Spel Code]]
 +
{{Global Header}}
 +
{{Global Announcement}}
 +
 
int strlen(string str)
 
int strlen(string str)
  

Latest revision as of 15:52, 3 September 2008

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