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

Go to the source code of this file.

Namespaces

namespace  StringOp
 

Functions

bool StringOp::stringToBool (string_view str)
 
std::string StringOp::toLower (std::string_view str)
 
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)