You are here: C++ Support Classes > dtSearch Namespace > Classes > DString Class
Close
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 

Syntax
C++
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;
dtSearch__DString
Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.