Adding more comunication skills
[mnenc] / php.hpp
diff --git a/php.hpp b/php.hpp
new file mode 100755 (executable)
index 0000000..fe91764
--- /dev/null
+++ b/php.hpp
@@ -0,0 +1,28 @@
+//      php.hpp
+//      
+//      Copyright 2010 Micke Nordin <mickewiki@gmail.com>
+//      
+//      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
+//      the Free Software Foundation; either version 3 of the License, or
+//      (at your option) any later version.
+//      
+//      This program is distributed in the hope that it will be useful,
+//      but WITHOUT ANY WARRANTY; without even the implied warranty of
+//      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+//      GNU General Public License for more details.
+//      
+//      You should have received a copy of the GNU General Public License
+//      along with this program; if not, write to the Free Software
+//      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+//      MA 02110-1301, USA.
+#ifndef _php_h_included_
+#define _php_h_included_
+#include <vector>
+#include <string>
+using namespace std;
+vector<string> explode(string str, string separator); //Make a vector<string> from a string by slitting by a delimiter
+string reverse(string &str); //Revers a string
+string trim(string &str, char const* sepSet); //Remove some characters from a string
+
+#endif