New String Commands
The string command was enhanced with several new operations that include string classification operations (string is), character string mappings (string map), title case conversion (string totitle), an easier to use equality test (string equal), and new string manipulation commands (string repeat and string replace). The -nocase and -length option has been added to commands like string compare and string tolower. These additions are listed in Table 4-1 on page 46 and explained in more detail in Chapter 4. Note, these only appeared in the Tcl 8.1.1 patch release.