LOG IN SIGN UP
Documentation

std.strlen

Returns the length of the string. For example, std.strlen("Hello world!"); will return 12 (because the string includes whitespaces and punctuation).

Format

INTEGER
std.strlen(STRING s)

Examples

if (std.strlen(req.http.Cookie) > 1024) { unset req.http.Cookie; }