Golang String EqualFold() function

EqualFold() function in the Golang strings package is used to check if two strings are equal. It returns a true value if two strings are equal else false. Here strings are interpreted as UTF-8 strings and comparison is performed under Unicode case-folding. The string comparison using the EqualFold() function is not case-sensitive. EqualFold() Syntax The …

Read more