Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_string_manip.cpp File Reference
#include "catch_string_manip.h"
#include "catch_stringref.h"
#include <algorithm>
#include <ostream>
#include <cstring>
#include <cctype>
#include <vector>
Include dependency graph for catch_string_manip.cpp:

Go to the source code of this file.

Namespaces

namespace  Catch
 

Functions

bool Catch::startsWith (std::string const &s, std::string const &prefix)
 
bool Catch::startsWith (std::string const &s, char prefix)
 
bool Catch::endsWith (std::string const &s, std::string const &suffix)
 
bool Catch::endsWith (std::string const &s, char suffix)
 
bool Catch::contains (std::string const &s, std::string const &infix)
 
void Catch::toLowerInPlace (std::string &s)
 
std::string Catch::toLower (std::string const &s)
 
std::string Catch::trim (std::string const &str)
 
bool Catch::replaceInPlace (std::string &str, std::string const &replaceThis, std::string const &withThis)
 
std::vector< StringRefCatch::splitStringRef (StringRef str, char delimiter)
 
std::ostream & Catch::operator<< (std::ostream &os, pluralise const &pluraliser)