libsegl/extstring.h

17 lines
339 B
C
Raw Normal View History

#ifndef __EXTSTRING_H
#define __EXTSTRING_H
#include <string>
#include <vector>
namespace segl {
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);
} // namespace segl
#endif