dtSearch Text Retrieval Engine Programmer's Reference
DString Class

Simple string class for use in the dtSearch C++ Support classes and sample code.

File: dstring.h 

Namespace: dtSearch 

class DString;

Usually the text in a DString is stored as UTF-8, although any single-byte character set can be used. 

For convenience, text and numeric values can be appended to a DString using an iostreams-like syntax. Example:

DString x; int i = 5 x << "This is some text and a number, which is " << i;