Tag: String Comparison

How To Compare Strings in Golang

In this blog, we will learn how to compare strings in Golang. First we will learn simple string comparison in Golang using relational operator  i.e, ==, !=, >=, <=, <, >. Compare String using Relational Operators String Comparision in Golang using the relational operators is case-sensitive. Let’s see another way of comparing strings i.e compare function…
Read more

String Comparison in Python | str() and ord()

In this blog, we will take a look at String Comparison in Python. A String is a series of characters, bound by quotes. Python allows us to use both single and double quotes for a string in python. Example: “This is a string.” The quotes also acts as the delimiter for a string. Learn Python…
Read more