open-license-manager
2014-04-13 5b35fd450ef78c3be506ca3fc22c3f431ae5e562
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
/*
 * StringUtils.h
 *
 *  Created on: Apr 8, 2014
 *      Author: devel
 */
 
#ifndef STRINGUTILS_H_
#define STRINGUTILS_H_
#include <string>
 
namespace license {
using namespace std;
 
/**
 * Eliminate whitespace from both sides of a string and returns a copy
 * of the string itself.
 * @param string_to_trim
 * @return the trimmed string
 */
string trim_copy(const string& string_to_trim);
 
string toupper_copy(const string& lowercase);
 
} /* namespace license */
 
#endif /* STRINGUTILS_H_ */