libsegl/extstring.h

13 lines
300 B
C++

#ifndef __EXTSTRING_H
#define __EXTSTRING_H
#include <string>
#include <vector>
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);
#endif