2008-06-17 02:46:39 +02:00
|
|
|
#ifndef __EXTSTRING_H
|
|
|
|
#define __EXTSTRING_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2008-08-10 17:14:54 +02:00
|
|
|
namespace segl {
|
|
|
|
|
2008-06-17 02:46:39 +02:00
|
|
|
int explode(std::string str, std::string delim, std::vector<std::string> *erg, bool clean=false);
|
|
|
|
std::string trim(std::string t);
|
|
|
|
std::string basename(std::string str);
|
|
|
|
std::string rbasename(std::string str);
|
|
|
|
|
2008-08-10 17:14:54 +02:00
|
|
|
} // namespace segl
|
|
|
|
|
2008-06-17 02:46:39 +02:00
|
|
|
#endif
|