summaryrefslogtreecommitdiff
path: root/include/tools/string.h
blob: 8d54706d82336578f818269b87149ce371be59d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * string.h
 *
 *  Created on: 03.10.2012
 *      Author: savop
 */

#ifndef STRING_H_
#define STRING_H_

#include <string>
#include "../tools.h"

using namespace std;

namespace upnp {

namespace tools {

string ToString(long number);
string StringListToCSV(StringList list);
string IdListToCSV(IdList list);
void StringExplode(string str, string separator, StringVector& results);
string Trim(const std::string& str, const std::string& whitespace = " \t");

}

}  // namespace upnp

#endif /* STRING_H_ */