Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Fundamentals of Text Data Manipulation in Scala

via CodeSignal

Overview

Explore the basics of text data manipulation. Learn techniques to read and write files efficiently, delving into line-by-line and character-by-character parsing to build a strong foundation in handling textual data using Scala.

Syllabus

  • Unit 1: Reading Text Files in Scala with os-lib
    • Defining Relative File Path with os.pwd
    • Reading and Displaying Text File Contents with os-lib
    • Creating File to Read with Scala
    • Complete File Reading with os-lib
  • Unit 2: Reading Files Line-by-Line in Scala
    • Reading the First Line from a File
    • Reading Numbers from a File and Calculating Their Sum
    • Reading and Calculating Average Temperature from a File
    • Reading and Sorting Names from a File
  • Unit 3: Reading Files Character-by-Character with InputStream
    • Reading the First Character of a File
    • Reading the First 100 Characters of a File
    • Sequential File Reading with os-lib
    • Managing InputStream to Read a File
  • Unit 4: Writing and Appending to Files in Scala
    • Enhancing File Handling by Reading and Writing Data
    • Writing an API Key to a File Using os-lib
    • Appending Names to an Existent File
    • Reading Numbers from a File and Writing Their Sum

Reviews

Start your review of Fundamentals of Text Data Manipulation in Scala

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.