CA SDM::.SPEL::. Strlen

Document created by TMACUL Champion on Jan 25, 2017
Version 1Show Document
  • View in full screen mode

Strlen

int strlen(string str)

returns the length of a string

eg.

string myString;

int i;

myString = "hello";

i = strlen(myString);

// i = 5

1 person found this helpful

Attachments

    Outcomes