Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
DWString Class
Classes | Legend | Members | Methods | Operators | << Operator | = Operator | contains Method | DWString Constructor | Send Feedback

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

Class Hierarchy
class DWString;
File

dstring.h

Group
Methods
Method 
Description 
Append Unicode text to the string 
Append a single character 
! Append without null-termination for faster building of strings 
Clear all text in the string 
This is the overview for the contains method overload. 
This is the overview for the DWString constructor overload. 
Extend the string buffer to a minimum length 
find 
Find a substring 
First character in the string, or null if the string is empty 
Convert the string to Ansi 
Get one character 
Read contents of a file as Unicode 
Returns the number of characters in the string 
Convert the string to UTF-8 
hms 
Format a time as HHHH/MM/SS 
Find a substring (case-insensitive) 
Insert characters in front of the string 
Returns true if the string is empty or contains only whitespace 
Returns true if the string is empty or contains only whitespace, checking for Unicode whitespace 
last 
Returns the last character in the string, or null if the string is empty 
! Null-terminate the string (use after calling appendCharNT
Remove leading whitespace and pack all other whitespace to a single space character 
Remove a range of characters from the string 
Remove leading whitespace 
Remove trailing whitespace 
Get one character 
Set the length of the string, null-terminating the contents of the buffer 
Transfer nChars of Unicode text from another buffer 
Convert to lower case 
Convert to upper case 
trim 
Remove leading and trailing whitespace 
Truncate the string 
Try to extend the string buffer to a minimum length, and return false if unsuccessful 
Write Unicode text to a file 
ymd 
Format a date as YYYY/MM/DD 
Operators
Operator 
Description 
<< 
This is the overview for the << operator overload. 
= 
This is the overview for the = operator overload. 
Returns start of the Unicode buffer 
Legend
 
Operator 
 
Method 
Links
You are here: C++ Support Classes > dtSearch Namespace > Classes > DWString Class
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.