licornea_tools
Namespaces | Functions
string.h File Reference
#include <string>
#include <vector>
#include "string.tcc"

Go to the source code of this file.

Namespaces

 tlz
 

Functions

std::string tlz::file_name_extension (const std::string &filename)
 
template<typename T >
std::string tlz::to_string (const T &)
 
template<typename T >
tlz::from_string (const std::string &)
 
template<typename It >
std::string tlz::to_string (It begin, It end, const std::string &separator=", ")
 
std::vector< std::string > tlz::explode (char separator, const std::string &str)
 
std::string tlz::implode (char separator, const std::vector< std::string > &vec)
 
template<typename T >
std::vector< T > tlz::explode_from_string (char separator, const std::string &)
 
template<typename T >
std::string tlz::implode_to_string (char separator, const std::vector< T > &)
 
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)