O'Reilly logo

Learn to Program with Scratch by Majed Marji

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required