From a2ce73945efcc2f42cb6eacd674e96f307f04dd2 Mon Sep 17 00:00:00 2001 From: R3da Date: Thu, 8 Jul 2021 21:50:04 +0200 Subject: [PATCH] 11-if/04-vowel-or-cons, Usage of strings.ContainsAny method as a new solution --- 11-if/exercises/04-vowel-or-cons/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/11-if/exercises/04-vowel-or-cons/main.go b/11-if/exercises/04-vowel-or-cons/main.go index 89c1ce7..68352a4 100644 --- a/11-if/exercises/04-vowel-or-cons/main.go +++ b/11-if/exercises/04-vowel-or-cons/main.go @@ -26,6 +26,8 @@ package main // Use strings.IndexAny function to detect the vowels. // Search on Google for: golang pkg strings IndexAny // +// Furthermore, you can also use strings.ContainsAny. Check out: https://golang.org/pkg/strings/#ContainsAny +// // EXPECTED OUTPUT // go run main.go // Give me a letter