An Introduction

In this lesson, we will further explore strings in Scala.

In one of the previous chapters, we touched upon string literals. In this chapter, we are going to continue our discussion on strings and go into much more detail. In the second half of this chapter, we will take a problem/solution approach where you will be introduced to a problem and through its solution, you will learn of different methods that can be applied on strings in Scala.

Declaring a String

While we have already learned how to declare a string, let’s have a quick recap before moving forward.

Create a free account to access the full course.

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