licornea_tools
Namespaces | Functions
string.cc File Reference
#include "string.h"
#include <string>
#include <sstream>
#include <cstdio>
#include <cctype>

Go to the source code of this file.

Namespaces

 tlz
 

Functions

std::string tlz::file_name_extension (const std::string &filename)
 
std::vector< std::string > tlz::explode (char separator, const std::string &str)
 
std::string tlz::implode (char separator, const std::vector< std::string > &vec)
 
std::string tlz::to_lower (const std::string &s_orig)
 
std::string tlz::to_upper (const std::string &s_orig)
 
std::string tlz::replace_all (const std::string &subject_orig, const std::string &find, const std::string &replace)
 
std::size_t tlz::replace_all_inplace (std::string &subject, const std::string &find, const std::string &replace)
 
int tlz::string_hash (const std::string &str)