You need more than a bunch of numbers and logic to write an application. You need text and working with individual characters isn’t enough either.

This episode continues explaining concepts important to the string data type with the following seven points:

  1. How do you search a string for another string or a pattern?
  2. How do you use a string as an index or key into a collection?
  3. How do you read and write strings as data streams?
  4. How do you use strings to transfer information such as HTML, JSON, and XML?
  5. How do you convert images to strings and then back again?
  6. How do you sort strings and control how numbers and special characters affect the order?
  7. How do you embed special symbols into strings such as line breaks, presentation information, and binary data?