strings

Different methods are used in string operation – Scala

Reading Time: 3 minutes Scala Strings are one of the most important features of scala. Basically, it is a sequence of characters that uses the linear approach to store data. In scala, the string is immutable in nature and hence we cannot change its original state. Scala language provides us various methods to play with strings we can use these methods on strings to get the desired output. If Continue Reading

Basic String Operations and Interpolation in Scala

Reading Time: 3 minutes In this blog post, we will talk about strings and some basic string operations. Then, we will discuss string interpolation in Scala. What are Strings ? A string in Scala is a collection of characters. In Scala, string objects are immutable, meaning they can not be changed after they have been created. What are string operations ? Task performed on a string to get any Continue Reading

Scala Beginner Series (1) : Basics

Reading Time: 4 minutes This series is all about the taste of Scala. It is best suitable for all the newbies in Scala. So here we go… This article will cover the fundamentals of Scala language. Values In Scala, we work with values: Values are used to define constants. val modifier means constant or immutable that means we cannot change its value once it is created. Thus reassignment to val is prohibited. It Continue Reading