[ Team LiB ] Previous Section Next Section

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 options have been added to commands like string compare and string tolower. These additions are listed in Table 4-1 on page 50 and explained in more detail in Chapter 4. Note: These only appeared in the Tcl 8.1.1 patch release.

    [ Team LiB ] Previous Section Next Section