OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
String handling utilities. More...
#include <string>
Go to the source code of this file.
Functions | |
std::string | findAndReplace (std::string s, std::string find, std::string replace) |
std::string | expandHomeDirectory (std::string s) |
bool | stringEndsWith (std::string s, std::string suffix, bool casesensitive=false) |
std::string | removeLastPathElement (std::string s) |
std::string | getLastPathElement (std::string s) |
std::string | convertPathDelimiter (std::string s) |
String handling utilities.
Definition in file strings.h.
std::string findAndReplace | ( | std::string | s, |
std::string | find, | ||
std::string | replace | ||
) |
Definition at line 14 of file strings.cpp.
std::string expandHomeDirectory | ( | std::string | s | ) |
Definition at line 24 of file strings.cpp.
bool stringEndsWith | ( | std::string | s, |
std::string | suffix, | ||
bool | casesensitive = false |
||
) |
Definition at line 32 of file strings.cpp.
std::string removeLastPathElement | ( | std::string | s | ) |
Definition at line 46 of file strings.cpp.
std::string getLastPathElement | ( | std::string | s | ) |
Definition at line 53 of file strings.cpp.
std::string convertPathDelimiter | ( | std::string | s | ) |
Definition at line 60 of file strings.cpp.