Files

28 lines
823 B
Markdown

---
type: module
title: "Strings"
description: "Text is half of every program — index it, slice it, transform it, count it, format it."
---
# Strings
Half of what programs do is move text around. Reading user input,
formatting reports, parsing log lines, validating passwords — all
strings. This module hands you the toolkit.
Seven blocks. About three and a half hours. No conditionals or loops
yet — those come next module — so every challenge here works through
indexing, slicing, methods, and built-in functions.
## What You'll Do
- Index and slice strings
- Apply the most-used string methods (`upper`, `strip`, `split`,
`replace`, ...)
- Validate, count, mirror, and format text
- Build a small mission report from raw fields
## Pace
About 3.5 hours. Each block is a small real program — no drills.