Here, We are going to write a program to calculate area of Rectangle and Square in go golang. Area of rectangle is multiplication of length…
Go does not have built-in function to reverse a string. To reverse a string, we have to write custom function. So, here we are going…
Here, We are going to learn about checking a string starts with given prefix in go golang. We can do this by using HasPrefix() function…
Here, We are going to learn about checking string ends with given suffix in go golang. We can do this by using HasSuffix() function of…
Here, We are going to learn about comparing two strings in go golang. We can compare two strings in go by using Compare() function of…
Here, we are going to learn about finding substring in string in go golang. We can find substring in string by using Contains() function of…
Here, We are going to learn about checking presence of any characters of substring are present with string in go golang. We can achieve this…
Here, We are going to learn about checking unicode point or rune is present in string.We can check this by using ContainsRune() function of strings…
Here, We are going to learn about comparing two strings without case sensitive in go golang. We can do that by using EqualFold() function of…
Here, We are going to learn about counting the total number of substring in string in go golang. We can get the count by using…