Simple Algorithms
Library
(bolded sections are more interesting)
toggle TOC (ctrl + ⇔)
Declaration
template <typename Sequence> size_t levenshtein(const Sequence& a, const Sequence& b);
Parameters
Return value
Example
Discussion
std::vector<std::string> ssplit(const std::string &s, char delim);
std::string& ltrim(std::string& s); std::string ltrim(const std::string& s);