/* * Copyright 2023, Andrew Lindesay . * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef STRING_UTILS_H #define STRING_UTILS_H #include class StringUtils { public: static void InSituTrimSpaceAndControl(BString& value); static void InSituStripSpaceAndControl(BString& value); static int NullSafeCompare(const char* s1, const char* s2); private: static bool _IsSpaceOrControl(char ch); }; #endif // STRING_UTILS_H