paludis  Version 2.6.0
Namespaces | Functions
strip.hh File Reference
#include <functional>
#include <string>
#include <paludis/util/attributes.hh>

Go to the source code of this file.

Namespaces

 paludis
 

Functions

std::string paludis::strip_leading_string (const std::string &s, const std::string &remove) PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::string paludis::strip_leading (const std::string &s, const std::string &prefix) PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::string paludis::strip_trailing_string (const std::string &s, const std::string &remove) PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result))
 
std::string paludis::strip_trailing (const std::string &s, const std::string &suffix) PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result))
 

Detailed Description

Strip functions and adapters.

Examples