byteman  1.3 (Build #225)
Bitstream relocation and manipulation tool
Namespaces | Functions
str.h File Reference
#include <algorithm>
#include <string>
#include "str/iff.h"
#include "str/parse.h"
Include dependency graph for str.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 str
 

Functions

void str::findAndReplace (std::string &str, std::string toFind, std::string toReplaceWith)
 
std::string str::findStringAndGetAllAfter (std::string checkedString, std::string searchString)
 Finds string searchString inside checkedString and returns all to the right inside checkedString. If can't be found, returns empty string. More...
 
std::string str::removeExternalQuotes (std::string str)
 Removes double quotes from start and end of string str and returns the resulting string. More...
 
std::string str::removeSpaces (std::string str)
 Removes all space chars of str returns the resulting string. More...
 
std::string str::replace (std::string str, char oldChar, char newChar)
 Replaces all instances of oldChar in string str with newChar and returns the resulting string. More...
 
std::string str::stringToLower (std::string str)
 Replaces all uppercase characters in str with lowercase and returns the resulting string. More...
 
std::string str::stringToUpper (std::string str)
 Replaces all lowercase characters in str with uppercase and returns the resulting string. More...