Testing String Equality

In the following lesson, you will learn how to compare strings in Scala.

We'll cover the following

Problem

We want to compare two strings to check whether they are equal. When strings are equal, it simply means that both strings are composed of the same characters in the same order, i.e., they are identical.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy