Chapter 4. Handling String Expressions
In this chapter, we will cover:
Appending to a string
Formatting a string
Matching a regular expression within a string
Performing character substitution on a string
Parsing a string using conversion specifiers
Determining the length of a string
Comparing strings
Comparing a string of characters
Locating the first instance of a character
Locating the index of a character
Determining the class of a string
Locating the last instance of a string
Determining the size of a string
Replacing values within a string
Locating a pattern within a string
Returning a range of characters from a string
Creating a string of repeated characters
Replacing ranges of characters contained within a string
Creating a reverse string
Converting a string to lowercase
Converting a string to title
Converting a string to uppercase
Trimming a string
Trimming leading whitespace
Trimming trailing whitespace
Locating the word end
Locating the word start
Performing variable substitution
Introduction
When I first...