Category:Text

A sequence of characters.

String is the word used to describe a sequence of characters that could be letters, numbers, or symbols. The string can be stored in a variable or printed onto the display when attached to specific text blocks.

Examples

Example 1

Printing text can make it look like the sprite is talking.

Example 2

Text can be used to describe data. Here, text is used to explain the bunny’s size.

Parameters

NameDescription
string Any sequence of characters inputted from the keyboard

Found a bug in the documentation? Let us know at documentation@code.org