X-Git-Url: http://www.andromeda.nl/gitweb/?a=blobdiff_plain;f=src%2FString.h;h=2fa0127fc5e31a051921f11f8d6275f7ee7bc319;hb=00c7a023c7d4f8c322b81d211972932cc50af9de;hp=4d80d608ebf9dba132b2f3702cc3ac7872b58c5c;hpb=b5b889ce26ff2b0d4b1e604d2b7001d9c4f00553;p=AXE.git diff --git a/src/String.h b/src/String.h index 4d80d60..2fa0127 100644 --- a/src/String.h +++ b/src/String.h @@ -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 ** @@ -17,13 +17,16 @@ ******************************** ** 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