Chapter 8. String Processing

A string is a series of characters that is treated as a single unit. You can write programs to combine, compare, sort, encrypt, and otherwise manipulate strings. Here’s what you’ll learn in this chapter:

  • How Scratch stores strings

  • How to use the string manipulation blocks available in Scratch

  • Several string processing techniques

  • How to write interesting programs that process strings

We’ll start with a detailed look at the string data type, and then we’ll write procedures to manage and manipulate strings. Those procedures will remove and replace characters, insert and extract substrings, and randomize character order. After that, we’ll use these procedures and apply these techniques to write some fun and practical applications. ...

Get Learn to Program with Scratch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.