8. Stringing Characters TogetherΒΆ

  1. 8.1. Strings as Collections
    1. 8.1.1. Collection Data Types
    2. 8.1.2. Ordered Collections
    3. 8.1.3. Collection Length
      1. 8.1.3.1. The Empty String
    4. 8.1.4. Quote Reminder
  2. 8.2. Bracket Notation
    1. 8.2.1. Access One Character
      1. 8.2.1.1. Expressions for index
    2. 8.2.2. Negative Index Values
      1. 8.2.2.1. Try It!
    3. 8.2.3. Check Your Understanding
  3. 8.3. Taking a Slice
    1. 8.3.1. Saving Substrings
    2. 8.3.2. Check Your Understanding
  4. 8.4. String Immutability
    1. 8.4.1. Reassign Variables
    2. 8.4.2. Check Your Understanding
  5. 8.5. String Methods
    1. 8.5.1. Common String Methods
    2. 8.5.2. Strings Are Immutable
    3. 8.5.3. Check Your Understanding
  6. 8.6. Special Characters
    1. 8.6.1. Newline and Tab
    2. 8.6.2. Other Characters
    3. 8.6.3. Check Your Understanding
  7. 8.7. Template Literals
    1. 8.7.1. The format() Method
      1. 8.7.1.1. Index Values with format()
    2. 8.7.2. f-Strings
    3. 8.7.3. Check Your Understanding
  8. 8.8. Iteration with Strings
    1. 8.8.1. Iterate by Index or Characters
    2. 8.8.2. Check Your Understanding
  9. 8.9. Checking Strings
    1. 8.9.1. Checking Type
    2. 8.9.2. Comparing Strings
      1. 8.9.2.1. Checking with in and not in
    3. 8.9.3. Checking Case
    4. 8.9.4. Check Your Understanding
  10. 8.10. The string Module
    1. 8.10.1. Using string Constants
      1. 8.10.1.1. Try It!
    2. 8.10.2. Check Your Understanding
  11. 8.11. Exercises: Strings
    1. 8.11.1. Part One: Bracket Notation
      1. 8.11.1.1. Points to Ponder
      2. 8.11.1.2. Bracket Notation Basics
      3. 8.11.1.3. Looping Through a String
    2. 8.11.2. Part Two: String Methods and Operations
      1. 8.11.2.1. String Methods and Data Types
      2. 8.11.2.2. Loops, Conditionals, and Strings! Oh my!
      3. 8.11.2.3. Method Chaining Fun with DNA
    3. 8.11.3. Part Three: String Formatting
      1. 8.11.3.1. Template Literals
      2. 8.11.3.2. Debugging Practice
    4. 8.11.4. Submitting Your work