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 ...
Get Tcl/Tk 8.5 Programming Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.