Add wiki/strlen.md
This commit is contained in:
parent
9a23536491
commit
57de93e799
16
wiki/strlen.md
Normal file
16
wiki/strlen.md
Normal file
@ -0,0 +1,16 @@
|
||||
# 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user