supercell-wx/wxdata/source/scwx/util/strings.cpp
Dan Paulat fdd981899f Add additional alert display columns
- State, counties, start and end time
2022-10-14 23:41:25 -05:00

26 lines
343 B
C++

#include <scwx/util/strings.hpp>
namespace scwx
{
namespace util
{
std::string ToString(const std::vector<std::string>& v)
{
std::string value {};
for (const std::string& s : v)
{
if (!value.empty())
{
value += ", ";
}
value += s;
}
return value;
}
} // namespace util
} // namespace scwx