Text processing is, together with mathematics, the most important basic discipline in programming. Almost all data produced by humans will, at some point, be represented as text, or strings, in your system.
As you learned in Chapter 2, D provides basic string types, making the definition and usage of strings a breeze. An additional feature of strings is that they already are encoded as 8-, 16-, or 32-bit Unicode. This means that you can use D immediately in internationalized environments. You also can manipulate the encoding of strings directly.
Considering that Tango is a general-purpose library, text processing is given a prominent place via the
tango.text package, and this chapter will cover most of the important functionality ...