Simple Unicode string class for use in the dtSearch C++ Support classes and sample code.
class DWString;
dstring.h
|
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 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 | |
|
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 | |
|
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 | |
|
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 | |
|
Format a date as YYYY/MM/DD |
|
Operator |
Description |
|
This is the overview for the << operator overload. | |
|
This is the overview for the = operator overload. | |
|
Returns start of the Unicode buffer |
|
Operator |
|
Method |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|