From 57de93e799af98e89cf26c4f94e9b55b8ae7e691 Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 26 Jul 2023 10:20:13 +0000 Subject: [PATCH] Add wiki/strlen.md --- wiki/strlen.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 wiki/strlen.md diff --git a/wiki/strlen.md b/wiki/strlen.md new file mode 100644 index 0000000..49c6d7a --- /dev/null +++ b/wiki/strlen.md @@ -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 +``` \ No newline at end of file