9. Strings¶
- 9.1. Strings Revisited
- 9.2. A Collection Data Type
- 9.3. Operations on Strings
- 9.4. Index Operator: Working with the Characters of a String
- 9.5. String Methods
- 9.6. Length
- 9.7. The Slice Operator
- 9.8. String Comparison
- 9.9. Strings are Immutable
- 9.10. Traversal and the
for
Loop: By Item - 9.11. Traversal and the
for
Loop: By Index - 9.12. Traversal and the
while
Loop - 9.13. The
in
andnot in
operators - 9.14. The Accumulator Pattern with Strings
- 9.15. Turtles and Strings and L-Systems
- 9.16. Looping and Counting
- 9.17. A
find
function - 9.18. Optional parameters
- 9.19. Character classification
- 9.20. Summary
- 9.21. Glossary
- 9.22. Exercises