Cytopia  0.3
A city building simulation game
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
utils.cxx File Reference
#include "utils.hxx"
+ Include dependency graph for utils.cxx:

Go to the source code of this file.

Namespaces

 utils
 
 utils::strings
 

Functions

void utils::strings::removeSubString (std::string &string, const std::string &stringToRemove)
 Erase first occurrence of given substring from main string. More...
 
bool utils::strings::endsWith (const std::string &mainStr, const std::string &toMatch)
 checks if a string ends with a certain substring More...
 
bool utils::strings::startsWith (const std::string &mainStr, const std::string &toMatch)
 checks if a string starts with a certain substring More...