You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
331 B

## strlen
### Instructions
Write a function that returns the length of a string.
- `len` is forbidden
### Expected function and structure
```go
func Strlen(str string) int {
}
```
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
4
student@ubuntu:~/piscine/test$
```