LaunchCode logo
  1. Contents
  2. 7. Stringing Characters Together

7. Stringing Characters TogetherΒΆ

  • 7.1. Strings as Collections
    • 7.1.1. Collection Data Types
    • 7.1.2. Ordered Collections
    • 7.1.3. Collection Length
      • 7.1.3.1. The Empty String
    • 7.1.4. Quote Reminder
  • 7.2. Bracket Notation
    • 7.2.1. Access One Character
      • 7.2.1.1. Expressions for index
    • 7.2.2. Negative Index Values
      • 7.2.2.1. Try It!
    • 7.2.3. Check Your Understanding
  • 7.3. Taking a Slice
    • 7.3.1. Saving Substrings
    • 7.3.2. Check Your Understanding
  • 7.4. String Immutability
    • 7.4.1. Reassign Variables
    • 7.4.2. Check Your Understanding
  • 7.5. String Methods
    • 7.5.1. Common String Methods
    • 7.5.2. Strings Are Immutable
    • 7.5.3. Check Your Understanding
  • 7.6. Special Characters
    • 7.6.1. Newline and Tab
    • 7.6.2. Other Characters
    • 7.6.3. Check Your Understanding
  • 7.7. Template Literals
    • 7.7.1. The format() Method
      • 7.7.1.1. Index Values with format()
    • 7.7.2. f-Strings
    • 7.7.3. Check Your Understanding
  • 7.8. Iteration with Strings
    • 7.8.1. Iterate by Index or Characters
    • 7.8.2. Check Your Understanding
  • 7.9. Checking Strings
    • 7.9.1. Checking Type
    • 7.9.2. Comparing Strings
      • 7.9.2.1. Checking with in and not in
    • 7.9.3. Checking Case
    • 7.9.4. Check Your Understanding
  • 7.10. The string Module
    • 7.10.1. Using string Constants
      • 7.10.1.1. Try It!
    • 7.10.2. Check Your Understanding
  • 7.11. Exercises: Strings
    • 7.11.1. Part One: Bracket Notation
    • 7.11.2. Part Two: String Methods and Operations
    • 7.11.3. Part Three: String Formatting
  • 7.12. Project: Strings
  • ← 6.12. Project: Turtle Loops
  • 7.1. Strings as Collections →

Back to top

Page Source