summaryrefslogtreecommitdiffstats
path: root/mimelib/mimelib/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'mimelib/mimelib/string.h')
-rw-r--r--mimelib/mimelib/string.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/mimelib/mimelib/string.h b/mimelib/mimelib/string.h
index 83242c6a..556d6794 100644
--- a/mimelib/mimelib/string.h
+++ b/mimelib/mimelib/string.h
@@ -8,7 +8,7 @@
// All rights reserved.
//
// IN NO EVENT SHALL DOUGLAS W. SAUDER BE LIABLE TO ANY PARTY FOR DIRECT,
-// INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF
+// INDIRECT, SPECIAL, INCIDENTAL, OR CONSETQUENTIAL DAMAGES ARISING OUT OF
// THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF DOUGLAS W. SAUDER
// HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
@@ -88,7 +88,7 @@ public:
//. other string classes. {\tt DwString} also handles binary data, which can
//. contain embedded NUL characters.
//=============================================================================
-//+ Noentry _copy _tqreplace Length AsCharBuf Substring Prefix Suffix Prepend
+//+ Noentry _copy _replace Length AsCharBuf Substring Prefix Suffix Prepend
//+ Noentry Append Insert Replace Delete mRep mStart mLength sEmptyString
//+ Noentry ~DwString
@@ -338,10 +338,10 @@ public:
//. should be considered invalid after any call to a non-const member
//. function or another call to {\tt c_str()}.
- size_t find(const DwString& aStr, size_t aPos=0) const;
- size_t find(const char* aBuf, size_t aPos, size_t aLen) const;
- size_t find(const char* aCstr, size_t aPos=0) const;
- size_t find(char aChar, size_t aPos=0) const;
+ size_t tqfind(const DwString& aStr, size_t aPos=0) const;
+ size_t tqfind(const char* aBuf, size_t aPos, size_t aLen) const;
+ size_t tqfind(const char* aCstr, size_t aPos=0) const;
+ size_t tqfind(char aChar, size_t aPos=0) const;
//. Performs a forward search for a sequence of characters in the
//. {\tt DwString} object. The return value is the position of the
//. sequence in the string if found, or {\tt DwString::npos} if not
@@ -360,10 +360,10 @@ public:
//. The fourth version searches beginning at position {\tt aPos} for
//. the character {\tt aChar}.
- size_t rfind(const DwString& aStr, size_t aPos=npos) const;
- size_t rfind(const char* aBuf, size_t aPos, size_t aLen) const;
- size_t rfind(const char* aCstr, size_t aPos=npos) const;
- size_t rfind(char aChar, size_t aPos=npos) const;
+ size_t rtqfind(const DwString& aStr, size_t aPos=npos) const;
+ size_t rtqfind(const char* aBuf, size_t aPos, size_t aLen) const;
+ size_t rtqfind(const char* aCstr, size_t aPos=npos) const;
+ size_t rtqfind(char aChar, size_t aPos=npos) const;
//. Performs a reverse search for a sequence of characters in the
//. {\tt DwString} object. The return value is the position of the
//. sequence in the string if found, or {\tt DwString::npos} if not
@@ -453,7 +453,7 @@ public:
//. string {\tt aCstr}.
DwString substr(size_t aPos=0, size_t aLen=npos) const;
- //. Returns a string that tqcontains at most {\tt aLen} characters from
+ //. Returns a string that contains at most {\tt aLen} characters from
//. the {\tt DwString} object beginning at position {\tt aPos}. The
//. returned substring will not contain more characters than what are
//. available in the superstring {\tt DwString} object.