strlen()

From Hack Wars Wiki

Jump to: navigation, search


Information for free function strlen()
Function strlen(string s)
API Attacking, Banking, FTP, Watch, HTTP, Challenges, Hacktendo
Description Returns an integer representing the length of a string.


Example

string hello="Hello world!";
int length=strlen(hello);
setOutputInt(length);


Output:

 12
Personal tools