From 5202869f0fec5512211988b35b1ee4b29a33686d Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Fri, 23 Apr 2021 07:46:50 +0200 Subject: Add: String functionality to trim spaces from C-style strings --- src/string_func.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/string_func.h') diff --git a/src/string_func.h b/src/string_func.h index 13e14f2d3..6c894b3cb 100644 --- a/src/string_func.h +++ b/src/string_func.h @@ -49,6 +49,7 @@ bool strtolower(char *str); bool strtolower(std::string &str, std::string::size_type offs = 0); bool StrValid(const char *str, const char *last); +void StrTrimInPlace(char *str); /** * Check if a string buffer is empty. -- cgit v1.2.3-54-g00ecf