O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required