diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-15 17:09:14 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-15 17:09:14 -0800 |
| commit | 8f397bb8d1bd05a2e1f6d5de808322364100ae5d (patch) | |
| tree | 10fbe68aa55b5ad681cc183c002cacbb8870fb49 /toolsrc/include | |
| parent | b2859c65121c2c2593287be33ee87750fdd7d40e (diff) | |
| download | vcpkg-8f397bb8d1bd05a2e1f6d5de808322364100ae5d.tar.gz vcpkg-8f397bb8d1bd05a2e1f6d5de808322364100ae5d.zip | |
Add Strings::trim() function
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Strings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h index 859da5658..92c24298c 100644 --- a/toolsrc/include/vcpkg_Strings.h +++ b/toolsrc/include/vcpkg_Strings.h @@ -69,4 +69,8 @@ namespace vcpkg {namespace Strings std::string ascii_to_lowercase(const std::string& input); std::string join(const std::vector<std::string>& v, const std::string& delimiter); + + void trim(std::string* s); + + std::string trimmed(const std::string& s); }} |
