1 /* 2 * Copyright 2023, Andrew Lindesay <apl@lindesay.co.nz>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef STRING_UTILS_H 6 #define STRING_UTILS_H 7 8 9 #include <String.h> 10 11 12 class StringUtils { 13 14 public: 15 static void InSituTrimSpaceAndControl(BString& value); 16 static void InSituStripSpaceAndControl(BString& value); 17 18 private: 19 static bool _IsSpaceOrControl(char ch); 20 }; 21 22 #endif // STRING_UTILS_H 23