Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/auxiliary/functions.h')
-rw-r--r--src/auxiliary/functions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/auxiliary/functions.h b/src/auxiliary/functions.h
index 90eb2ed..ceab0de 100644
--- a/src/auxiliary/functions.h
+++ b/src/auxiliary/functions.h
@@ -49,6 +49,9 @@ const std::string text_strip(const std::string &text);
/// return text, stripped of color codes and converted to lowercase
const std::string text_strip_lowercase(const std::string &text);
+/// trim leading ad trailing spaces from a string
+void trim(std::string &text);
+
}
#endif // __INCLUDED_AUX_FUNCTIONS_H__