[project @ 2005-02-28 05:48:26 by unknown_lamer]
[clinton/bobotpp.git] / source / String.H
index 06cda22..70f6a55 100644 (file)
@@ -1,6 +1,6 @@
 // String.H  -*- C++ -*-
 // Copyright (c) 1997, 1998 Etienne BERNARD
-// Copyright (c) 2002 Clinton Ebadi
+// Copyright (c) 2002.2003,2005 Clinton Ebadi
 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -16,8 +16,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
 
-#ifndef STRING_H
-#define STRING_H
+#ifndef BSTRING_H
+#define BSTRING_H
 
 #include <iostream>
 #include <string>
@@ -54,6 +54,9 @@ public:
 
   String subString(int);
   String subString(int, int);
+  
+  String substr(int);
+  String substr(int, int);
 
   String toLower();
   String toUpper();