diff --git a/subjects/strlen.en.md b/subjects/strlen.en.md index b8511a47..c5b46b9d 100644 --- a/subjects/strlen.en.md +++ b/subjects/strlen.en.md @@ -2,7 +2,7 @@ ### Instructions -- Write a function that counts the characters of a `string` and that returns that count. +- Write a function that counts the runes of a `string` and that returns that count. ### Expected function @@ -21,12 +21,11 @@ package main import ( "fmt" - piscine ".." ) func main() { str := "Hello World!" - nb := piscine.StrLen(str) + nb := StrLen(str) fmt.Println(nb) } ``` diff --git a/subjects/strlen.fr.md b/subjects/strlen.fr.md index 421c2169..c3fc05a2 100644 --- a/subjects/strlen.fr.md +++ b/subjects/strlen.fr.md @@ -2,7 +2,7 @@ ### Instructions -- Écrire une fonction qui compte le nombre de caractères d'une `string` et qui retourne le nombre trouvé. +- Écrire une fonction qui compte le nombre de rune d'une `string` et qui retourne le nombre trouvé. ### Fonction attendue @@ -21,12 +21,11 @@ package main import ( "fmt" - piscine ".." ) func main() { str := "Hello World!" - nb := piscine.StrLen(str) + nb := StrLen(str) fmt.Println(nb) } ```