Golang String ContainsRune()

ContainsRune() Function in Golang strings package is used to check the given string contains the specified rune in it or not. It returns true if the Unicode code point r in rune are present in the given string else returns false. ContainsRune() Syntax The syntax for ContainsRune() function is: ContainsRune() Parameters: The ContainsRune() function take …

Read more