From e6c28c5209b5508a61affc947179260cec0d2733 Mon Sep 17 00:00:00 2001 From: methodus Date: Thu, 29 Nov 2012 00:17:50 +0100 Subject: Added some SQLite pragmas which should reduce accesses on the file system for writing --- include/tools/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/tools/string.h') diff --git a/include/tools/string.h b/include/tools/string.h index 0ff5434..8d54706 100644 --- a/include/tools/string.h +++ b/include/tools/string.h @@ -21,6 +21,7 @@ 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"); } -- cgit v1.2.3