Index: compiled/String.h |
diff --git a/compiled/String.h b/compiled/String.h |
index 14e2fda23b75b71fe2bfbd3b6c1aa9631b68af92..3ea7a6782322147a84e5f0da8752910017285167 100644 |
--- a/compiled/String.h |
+++ b/compiled/String.h |
@@ -25,6 +25,7 @@ |
#include <iostream> |
#include <codecvt> |
#endif |
+#include <utility> |
#include "base.h" |
#include "debug.h" |
@@ -455,4 +456,11 @@ inline std::ostream& operator<<(std::ostream& os, const OwnedString& str) |
return os << static_cast<const String&>(str); |
} |
#endif |
+ |
+DependentString TrimSpaces(const String& value); |
+ |
+// Splits the `value` string into two `DependentString`s excluding the character staying at `separatorPos`. |
+// Useful for parsing. |
+std::pair<DependentString, DependentString> SplitString(const String& value, String::size_type separatorPos); |
+ |
ABP_NS_END |