Browse Source

str.cpp

webui
Antonio SJ Musumeci 2 days ago
parent
commit
f68991347f
  1. 6
      src/str.cpp

6
src/str.cpp

@ -32,7 +32,7 @@ using std::set;
using std::string; using std::string;
using std::string_view; using std::string_view;
using std::vector; using std::vector;
using nonstd::span;
void void
str::split(const string_view str_, str::split(const string_view str_,
@ -299,6 +299,10 @@ str::startswith(const string &str_,
std::string_view{prefix_}); std::string_view{prefix_});
} }
bool
str::startswith(const char *str_,
nonstd::span<std::string_view>
bool bool
str::endswith(const string &str_, str::endswith(const string &str_,
const string &suffix_) const string &suffix_)

Loading…
Cancel
Save