an empty delimiter causes the split function to fail
MODIFY
src/vcpkg_Strings.cpp
src/vcpkg_Strings.cpp
@@ -137,6 +137,11 @@ namespace vcpkg::Strings
{
std::vector<std::string> output;
+ if(delimiter.empty()){
+ output.push_back(s);
+ return output;
+ }
+
size_t i = 0;
for (size_t pos = s.find(delimiter); pos != std::string::npos; pos = s.find(delimiter, pos))
{

an empty delimiter causes the split function to fail