1
0
mirror of https://github.com/MADTeacher/go_basics.git synced 2025-11-23 21:34:47 +02:00
Files
go_basics/part_1/1.15/12.go
2025-05-28 14:52:05 +03:00

14 lines
283 B
Go

package main
import (
"fmt"
"strings"
)
func main() {
str := "Hello mad world!"
fmt.Println(strings.EqualFold(str, "hello mad world!")) // true
fmt.Println(strings.EqualFold(str, "HELLO mad world!")) // true
fmt.Println(strings.EqualFold(str, "Oo")) // false
}