MakeCode has many blocks to offer when it comes to manipulating text strings. In this chapter you will learn how to find the length of a text, joining together any number of pieces of text, comparing two strings, extracting a part from a string, converting a string to a number, and extracting a character from a string at the specified index.
4-1. Finding the Length of a Text
Problem
You want to find the length of a text.
Solution
In the Toolbox, click on the Basic category. Then click and drag the show number block over, and place it inside of the on start block. ...