letter (1) of (apple) — Scratch Block Guide
Extracts a single character at the given 1-based position from a string.
What this block does
Extracts a single character at the given 1-based position from a string.
Build typewriter text effects, word games, and save-code parsers.
- Category: Operators Blocks
- Key tip: Scratch counts letters starting at 1 (unlike Python or JavaScript which start at 0).
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Say (letter 1 of Scratch) for 2 seconds
Try it: Outputs "S".
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "letter (1) of (apple)" in Scratch?
Build typewriter text effects, word games, and save-code parsers. Scratch counts letters starting at 1 (unlike Python or JavaScript which start at 0).
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.