Page 207 - Learn To Program With Scratch
P. 207
8
S t r ing Proce S Sing
A string is a series of characters that is treated as a
single unit. You can write programs to combine, com-
pare, 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 random-
ize character order. After that, we’ll use these procedures and apply these
techniques to write some fun and practical applications.
www.it-ebooks.info

