openMSX
Namespaces | Functions
StringOp.cc File Reference
#include "StringOp.hh"
#include "MSXException.hh"
#include "ranges.hh"
#include "stl.hh"
#include <cstdlib>
Include dependency graph for StringOp.cc:

Go to the source code of this file.

Namespaces

 StringOp
 

Functions

bool StringOp::stringToBool (string_view str)
 
bool StringOp::startsWith (string_view total, string_view part)
 
bool StringOp::startsWith (string_view total, char part)
 
bool StringOp::endsWith (string_view total, string_view part)
 
bool StringOp::endsWith (string_view total, char part)
 
void StringOp::trimRight (string &str, const char *chars)
 
void StringOp::trimRight (string &str, char chars)
 
void StringOp::trimRight (string_view &str, string_view chars)
 
void StringOp::trimRight (string_view &str, char chars)
 
void StringOp::trimLeft (string &str, const char *chars)
 
void StringOp::trimLeft (string &str, char chars)
 
void StringOp::trimLeft (string_view &str, string_view chars)
 
void StringOp::trimLeft (string_view &str, char chars)
 
void StringOp::trim (string_view &str, string_view chars)
 
void StringOp::trim (string_view &str, char chars)
 
std::pair< string_view, string_view > StringOp::splitOnFirst (string_view str, string_view chars)
 
std::pair< string_view, string_view > StringOp::splitOnFirst (string_view str, char chars)
 
std::pair< string_view, string_view > StringOp::splitOnLast (string_view str, string_view chars)
 
std::pair< string_view, string_view > StringOp::splitOnLast (string_view str, char chars)
 
IterableBitSet< 64 > StringOp::parseRange (string_view str, unsigned min, unsigned max)