16 lines
274 B
Markdown
16 lines
274 B
Markdown
# 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
|
|
``` |