IronGOLEM/wiki/strlen.md
2023-07-26 10:20:13 +00:00

274 B

STRLEN

Strlen (string length) is a function that takes an chars list as a parameter and return an length (like strlen in C)

params

  1. char list

return

number

example

strlen("ab") => 2
strlen(NULL) => 0
strlen("") => 0
strlen("j'ai les cramptés") => 17