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