New functions - String::escape() and String::unescape()
[AXE.git] / src / String.h
index 4d80d60..2fa0127 100644 (file)
@@ -5,7 +5,7 @@
 ***********************
 **      FILE NAME      : String.h
 **      SYSTEM NAME    : Andromeda X-Windows Encapsulation
-**      VERSION NUMBER : $Revision: 1.2 $
+**      VERSION NUMBER : $Revision: 1.3 $
 **
 **  DESCRIPTION      :  Character String class definition
 **
 ********************************
 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
 **      CREATION DATE   : Nov 17, 1995
-**      LAST UPDATE     : Feb 23, 2001
+**      LAST UPDATE     : Nov 02, 2002
 **      MODIFICATIONS   : 
 **************************************************************************/
 
 /*****************************
    $Log: String.h,v $
-   Revision 1.2  2002-09-28 06:45:51  arjen
+   Revision 1.3  2002-11-03 13:18:57  arjen
+   New functions - String::escape() and String::unescape()
+
+   Revision 1.2  2002/09/28 06:45:51  arjen
    New feature: subtring selection by regular expression.
    Bugfix: use the std: namespace for STL classes istream and ostream
 
@@ -32,7 +35,7 @@
 
 *****************************/
 
-// static const char RCSID[] = "$Id: String.h,v 1.2 2002-09-28 06:45:51 arjen Exp $";
+// static const char RCSID[] = "$Id: String.h,v 1.3 2002-11-03 13:18:57 arjen Exp $";
 
 #ifndef STRING_H
 #define STRING_H
@@ -277,8 +280,10 @@ public:
     *  Modifiers
     */
 
-   String upper(void);
-   String lower(void);
+   String upper();   //  Convert to upper case (ASCII)
+   String lower();   //  Convert to lower case (ASCII)
+   String escape();   //  Insert backslashes to escape special characters
+   String unescape(); //  Remove backslashes from escape codes.
 
    /*
     *  Character searching and Pattern matching