|
std::string | ept::str::basename (const std::string &pathname) |
| Given a pathname, return the file name without its path.
|
|
std::string | ept::str::dirname (const std::string &pathname) |
| Given a pathname, return the directory name without the file name.
|
|
void | ept::str::appendpath (std::string &dest, const char *path2) |
| Append path2 to path1, adding slashes when appropriate.
|
|
void | ept::str::appendpath (std::string &dest, const std::string &path2) |
| Append path2 to path1, adding slashes when appropriate.
|
|
std::string | ept::str::joinpath (const std::string &path1, const std::string &path2) |
|
std::string | ept::str::normpath (const std::string &pathname) |
| Normalise a pathname.
|
|
std::string | ept::str::encode_cstring (const std::string &str) |
| Escape the string so it can safely used as a C string inside double quotes.
|
|
std::string | ept::str::decode_cstring (const std::string &str, size_t &lenParsed) |
| Unescape a C string, stopping at the first double quotes or at the end of the string.
|
|
std::string | ept::str::encode_url (const std::string &str) |
| Urlencode a string.
|
|
std::string | ept::str::decode_url (const std::string &str) |
| Decode an urlencoded string.
|
|
std::string | ept::str::encode_base64 (const std::string &str) |
| Encode a string in Base64.
|
|
std::string | ept::str::decode_base64 (const std::string &str) |
| Decode a string encoded in Base64.
|
|