Subversion Repositories gelsvn

Rev

Rev 448 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
375 jrf 1
#ifndef STRING_UTILS_H
2
#define STRING_UTILS_H
3
 
4
namespace Util
5
{
6
  std::string trim(const std::string& s, const std::string& wspaces);
7
  std::string trim(const std::string& s);
8
  void split(const std::string& s, std::list<std::string>& result, const std::string& delim);
9
  void split(const std::string& s, std::list<std::string>& result);
10
  void trim_split(const std::string& s, std::list<std::string>& result, const std::string& delim);
11
  void trim_split(const std::string& s, std::list<std::string>& result);
12
  void get_first(std::string& s, std::string& first);
13
  void get_last(std::string& s, std::string& last);
14
}
15
 
16
#endif // STRING_UTILS_H