Documentation
¶
Index ¶
- func CountConsonants(s string) (count int)
- func CountOccurences(s string, substring string) int
- func CountVowels(s string) (count int)
- func IsAnagram(s1 string, s2 string) bool
- func IsConsonant(r rune) bool
- func IsPalindrome(s string) bool
- func IsPalindromeCaseSensitive(s string) bool
- func IsPangram(s string) bool
- func IsVowel(r rune) bool
- func Reverse(s string) (reversed string)
- func SearchPossibleWords(letters string) (result []string)
- func WordLength(s string) (count int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountConsonants ¶
Returns count of consonants in given string s
func CountOccurences ¶
Return how many times substring occurs in s
func IsAnagram ¶
Check if s1 and s2 are anagrams (both have same letters in different order) Example of anagrams, words "rat" and "tar" are anagrams
func IsPalindrome ¶
Check if word is case-insensitive palindrome. Example: ABba returns true
func IsPalindromeCaseSensitive ¶
Check if word is case-sensitive palindrome. Example: ABba returns false
func SearchPossibleWords ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.