summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/whitespace.h
blob: 6adb41641c70c879ee416fba73c5524191ddf739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __pbd_whitespace_h__
#define __pbd_whitespace_h__

#include <string>

namespace PBD {

// returns the empty string if the entire string is whitespace
// so check length after calling.
extern void strip_whitespace_edges (std::string& str);

} // namespace PBD

#endif // __pbd_whitespace_h__