10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
StringUtils.h
1#ifndef TENDUKE_UTL_STRINGUTILS_H
2#define TENDUKE_UTL_STRINGUTILS_H
3
4#include <string>
5
6namespace tenduke { namespace utl {
7
14std::string toLowerCaseASCII(const std::string &string);
15
16namespace string {
17
24bool endsWith(
25 const std::string &string,
26 const std::string &suffix
27);
28
35bool startsWith(
36 const std::string &string,
37 const char *prefix
38);
39
46bool startsWith(
47 const std::string &string,
48 const std::string &prefix
49);
50
51}
52
53}}
54
55#endif //TENDUKE_UTL_STRINGUTILS_H
String-utilities.
Definition StringUtils.h:16
bool startsWith(const std::string &string, const char *prefix)
Checks if string starts with given suffix.
Definition StringUtils.cpp:20
bool endsWith(const std::string &string, const std::string &suffix)
Checks if string ends with given suffix.
Definition StringUtils.cpp:8
Utilities.
Definition Base64Decoder.h:10
std::string toLowerCaseASCII(const std::string &string)
Returns a copy of provided ASCII-string converted to lower-case.
Definition StringUtils.cpp:34
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4